ScriptHelperRegisterAngularApplication Method |
Note: This API is now obsolete.
Renders JavaScript code to start a client-side application.
There can be only one angular application on each ASPX page.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("Use ScriptHelper.RegisterAngularModule instead")]
public static void RegisterAngularApplication(
Control control,
string moduleID,
Object parameters = null
)
Parameters
- control
- Type: System.Web.UIControl
The control that will be used to register JavaScript code. - moduleID
- Type: SystemString
The full name of the client-side module to register. - parameters (Optional)
- Type: SystemObject
An object that contains the named parameters to set for the module.
See Also