Package: | Ext |
Defined In: | Loader.js |
Class: | Loader |
Extends: | Object |
Property | Defined By | |
---|---|---|
var : Object Loads a particular file from the fileList by index. This is used when preserving order | Loader | |
var : Object Callback function which is called after each file has been loaded. This calls the callback
passed to load once the fi... Callback function which is called after each file has been loaded. This calls the callback
passed to load once the final file in the fileList has been loaded | Loader |
Method | Defined By | |
---|---|---|
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:
| Loader |