1 2 3 4 5
|
<div xmlns:ext="http://www.extjs.com" class="body-wrap"><h1>Class <a href="source/Loader.html#cls-Ext.Loader">Ext.Loader</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/Loader.html#cls-Ext.Loader">Loader.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/Loader.html#cls-Ext.Loader">Loader</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description"><br><br><i>This class is a singleton and cannot be created directly.</i></div><div class="hr"></div><a id="Ext.Loader-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Loader-var"></a><b><a href="source/Loader.html#prop-Ext.Loader-var">var</a></b> : Object<div class="mdesc">Loads a particular file from the fileList by index. This is used when preserving order</div></td><td class="msource">Loader</td></tr><tr class="property-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Loader-var"></a><b><a href="source/Loader.html#prop-Ext.Loader-var">var</a></b> : Object<div class="mdesc"><div class="short">Callback function which is called after each file has been loaded. This calls the callback
passed to load once the fi...</div><div class="long">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</div></div></td><td class="msource">Loader</td></tr></tbody></table><a id="Ext.Loader-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Loader-load"></a><b class="method"><a href="source/Loader.html#method-Ext.Loader-load">load</a></b><span class="openparen">( </span><span title="Required" class="required">Array fileList</span><span class="comma">, </span><span title="Required" class="required">Function callback</span><span class="comma">, </span><span title="Required" class="required">Object scope</span><span class="comma">, </span><span title="Required" class="required">Boolean preserveOrder</span><span class="closeparen"> )</span><span class="colon"> : </span><span class="return">void</span><div class="mdesc"><div class="short">Loads a given set of .js files. Calls the callback function when all files have been loaded
Set preserveOrder to true...</div><div class="long">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<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>fileList</code> : Array<div class="sub-desc">Array of all files to load</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback to call after all files have been loaded</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope to call the callback in</div></li><li><code>preserveOrder</code> : Boolean<div class="sub-desc">True to make files load in serial, one after the other (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Loader</td></tr></tbody></table><a id="Ext.Loader-events"></a><h2>Public Events</h2><div class="no-members">This class has no public events.</div></div>
|