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

Id

The Id property determines a repository object identifier.

Methods inherited from the Object class

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getId The getId method returns repository object identifier.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setId The setId method determines a repository object identifier.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP