Class CQ.Ext.Loader
| Package: | CQ.Ext |
| Class: | Loader |
| Extends: | Object |
| Clientlib: | cq.widgets |
This class is a singleton and cannot be created directly.
Public Properties
This class has no public properties.
Public Methods
| |
load( Array fileList, Function callback, Object scope, Boolean preserveOrder ) : void
Loads a given set of .js files. Calls the callback function when all files have been loaded
Set preserveOrder to true...
Loads a given set of .js files. Calls the callback function when all files have been loaded
Set preserveOrder to true to ensure non-parallel loading of files if load order is important
Parameters:
fileList : ArrayArray of all files to load callback : FunctionCallback to call after all files have been loaded scope : ObjectThe scope to call the callback in preserveOrder : BooleanTrue to make files load in serial, one after the other (defaults to false)
Returns:
|
Loader |
Public Events
This class has no public events.