Class BackOfficeJavaScriptInitializer
Creates a JavaScript block to initialize the back office
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.WebAssets
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BackOfficeJavaScriptInitializer
Methods
View SourceGetJavascriptInitialization(IEnumerable<String>, String, GlobalSettings, IHostingEnvironment)
Gets the JS initialization script to boot the back office application
Declaration
public static string GetJavascriptInitialization(IEnumerable<string> scripts, string angularModule, GlobalSettings globalSettings, IHostingEnvironment hostingEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System.String> | scripts | |
System.String | angularModule | The angular module name to boot |
GlobalSettings | globalSettings | |
IHostingEnvironment | hostingEnvironment |
Returns
Type | Description |
---|---|
System.String |