- "singleton": false,
- "private": false,
- "cfg": [
- {
- "tagname": "cfg",
- "name": "ajaxOptions",
- "member": "Ext.ElementLoader",
- "type": "Object",
- "doc": "<p>Any additional options to be passed to the request, for example timeout or headers. Defaults to <tt>null</tt>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 75,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-ajaxOptions"
- },
- {
- "tagname": "cfg",
- "name": "autoLoad",
- "member": "Ext.ElementLoader",
- "type": "Boolean/Object",
- "doc": "<p>True to have the loader make a request as soon as it is created. Defaults to <tt>false</tt>.\nThis argument can also be a set of options that will be passed to <a href=\"#/api/Ext.ComponentLoader-method-load\" rel=\"Ext.ComponentLoader-method-load\" class=\"docClass\">load</a> is called.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 59,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-autoLoad",
- "shortDoc": "True to have the loader make a request as soon as it is created. Defaults to false.\nThis argument can also be a set o..."
- },
- {
- "tagname": "cfg",
- "name": "baseParams",
- "member": "Ext.ElementLoader",
- "type": "Object",
- "doc": "<p>Params that will be attached to every request. These parameters\nwill not be overridden by any params in the load options. Defaults to <tt>null</tt>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 53,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-baseParams",
- "shortDoc": "Params that will be attached to every request. These parameters\nwill not be overridden by any params in the load opti..."
- },
- {
- "tagname": "cfg",
- "name": "failure",
- "member": "Ext.ElementLoader",
- "type": "Function",
- "doc": "<p>A function to be called when a load request fails.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 89,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-failure"
- },
- {
- "tagname": "cfg",
- "name": "listeners",
- "member": "Ext.util.Observable",
- "type": "Object",
- "doc": "<p>(optional) <p>A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\n<a href=\"#/api/Ext.ComponentLoader-method-addListener\" rel=\"Ext.ComponentLoader-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple handlers at once.</p></p>\n\n<br><p><b><u>DOM events from ExtJs <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></u></b></p>\n\n\n<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n<p>is usually only done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s\n<b><code><a href=\"#/api/Ext.view.View--click\" rel=\"Ext.view.View--click\" class=\"docClass\">click</a></code></b> event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the <code>element</code> option to\nidentify the Component property to add a DOM listener to:</p>\n\n<pre><code>new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n</code></pre>\n\n\n<p></p></p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 103,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-cfg-listeners",
- "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. T..."
- },
- {
- "tagname": "cfg",
- "name": "loadMask",
- "member": "Ext.ComponentLoader",
- "type": "Mixed",
- "doc": "<p>True or a <a href=\"#/api/Ext.LoadMask\" rel=\"Ext.LoadMask\" class=\"docClass\">Ext.LoadMask</a> configuration to enable masking during loading. Defaults to <tt>false</tt>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ComponentLoader.js",
- "linenr": 102,
- "html_filename": "ComponentLoader.html",
- "href": "ComponentLoader.html#Ext-ComponentLoader-cfg-loadMask"
- },
- {
- "tagname": "cfg",
- "name": "params",
- "member": "Ext.ElementLoader",
- "type": "Object",
- "doc": "<p>Any params to be attached to the Ajax request. These parameters will\nbe overridden by any params in the load options. Defaults to <tt>null</tt>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 47,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-params",
- "shortDoc": "Any params to be attached to the Ajax request. These parameters will\nbe overridden by any params in the load options...."
- },
- {
- "tagname": "cfg",
- "name": "renderer",
- "member": "Ext.ComponentLoader",
- "type": "String/Function",
- "doc": "<p>The type of content that is to be loaded into, which can be one of 3 types:</p>\n\n<ul>\n<li><strong>html</strong> : Loads raw html content, see <a href=\"#/api/Ext.Component-cfg-html\" rel=\"Ext.Component-cfg-html\" class=\"docClass\">Ext.Component.html</a></li>\n<li><strong>data</strong> : Loads raw html content, see <a href=\"#/api/Ext.Component-cfg-data\" rel=\"Ext.Component-cfg-data\" class=\"docClass\">Ext.Component.data</a></li>\n<li><strong>component</strong> : Loads child {Ext.Component} instances. This option is only valid when used with a Container.</li>\n</ul>\n\n\n<p>Defaults to <code>html</code>.</p>\n\n<p>Alternatively, you can pass a function which is called with the following parameters.</p>\n\n<ul>\n<li>loader - Loader instance</li>\n<li>response - The server response</li>\n<li>active - The active request</li>\n</ul>\n\n\n<p>The function must return false is loading is not successful. Below is a sample of using a custom renderer:</p>\n\n<pre><code>new Ext.Component({\n loader: {\n url: 'myPage.php',\n renderer: function(loader, response, active) {\n var text = response.responseText;\n loader.getTarget().update('The response is ' + text);\n return true;\n }\n }\n});\n</code></pre>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ComponentLoader.js",
- "linenr": 112,
- "html_filename": "ComponentLoader.html",
- "href": "ComponentLoader.html#Ext-ComponentLoader-cfg-renderer",
- "shortDoc": "The type of content that is to be loaded into, which can be one of 3 types:\n\n\nhtml : Loads raw html content, see Ext...."
- },
- {
- "tagname": "cfg",
- "name": "scope",
- "member": "Ext.ElementLoader",
- "type": "Object",
- "doc": "<p>The scope to execute the <a href=\"#/api/Ext.ComponentLoader-cfg-success\" rel=\"Ext.ComponentLoader-cfg-success\" class=\"docClass\">success</a> and <a href=\"#/api/Ext.ComponentLoader-cfg-failure\" rel=\"Ext.ComponentLoader-cfg-failure\" class=\"docClass\">failure</a> functions in.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 93,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-scope"
- },
- {
- "tagname": "cfg",
- "name": "scripts",
- "member": "Ext.ComponentLoader",
- "type": "Boolean",
- "doc": "<p>True to parse any inline script tags in the response. This only used when using the html\n<a href=\"#/api/Ext.ComponentLoader-cfg-renderer\" rel=\"Ext.ComponentLoader-cfg-renderer\" class=\"docClass\">renderer</a>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ComponentLoader.js",
- "linenr": 107,
- "html_filename": "ComponentLoader.html",
- "href": "ComponentLoader.html#Ext-ComponentLoader-cfg-scripts"
- },
- {
- "tagname": "cfg",
- "name": "success",
- "member": "Ext.ElementLoader",
- "type": "Function",
- "doc": "<p>A function to be called when a load request is successful.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 85,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-success"
- },
- {
- "tagname": "cfg",
- "name": "target",
- "member": "Ext.ComponentLoader",
- "type": "Ext.Component/String",
- "doc": "<p>The target <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> for the loader. Defaults to <tt>null</tt>.\nIf a string is passed it will be looked up via the id.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ComponentLoader.js",
- "linenr": 96,
- "html_filename": "ComponentLoader.html",
- "href": "ComponentLoader.html#Ext-ComponentLoader-cfg-target"
- },
- {
- "tagname": "cfg",
- "name": "url",
- "member": "Ext.ElementLoader",
- "type": "String",
- "doc": "<p>The url to retrieve the content from. Defaults to <tt>null</tt>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/ElementLoader.js",
- "linenr": 42,
- "html_filename": "ElementLoader.html",
- "href": "ElementLoader.html#Ext-ElementLoader-cfg-url"
- }
- ],
- "method": [
- {
- "tagname": "method",
- "name": "abort",
- "member": "Ext.ElementLoader",
- "doc": "<p>Aborts the active load request</p>\n",
- "params": [
-
- ],
- "return": {
- "type": "void",
- "doc": "\n"