ScriptManager

Namespace: PP

Inheritance hierarchy

Object

ScriptManager

Description

The static class ScriptManager is used to load script files and CSS style files.

Syntax

PP.ScriptManager;

Methods

  Method name Brief description
getRawUrl The getRawUrl method clears URL from parameters.
loadScript The loadScript method loads a JS script.
loadScripts The loadScripts method loads an array of JS scripts.
loadStyles The loadStyles method loads files with CSS styles.
loadStylesH The loadStylesH method loads files with CSS styles using a special handler.

Events

   Event name Brief description
AllNodesLoaded The AllNodesLoaded event occurs after all script files are loaded.
BeforeScriptLoad The BeforeScriptLoad event occurs before loading script file.
ScriptLoaded The ScriptLoaded event occurs after loading script file.

Properties inherited from the Object class

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the Object class

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP