1 <div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.Loader-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.Loader-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.Loader-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="bookmark" href="../docs/?class=Ext.Loader"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><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
2 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
3 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><a href="source/Loader.html#method-Ext.Loader-load">load</a></b>( <code>Array fileList</code>, <code>Function callback</code>, <code>Object scope</code>, <code>Boolean preserveOrder</code> )
5 void<div class="mdesc"><div class="short">Loads a given set of .js files. Calls the callback function when all files have been loaded
6 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
7 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>