X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/output/Ext.Template.js diff --git a/docs/output/Ext.Template.js b/docs/output/Ext.Template.js new file mode 100644 index 00000000..218ddfb2 --- /dev/null +++ b/docs/output/Ext.Template.js @@ -0,0 +1,335 @@ +Ext.data.JsonP.Ext_Template({ + "tagname": "class", + "name": "Ext.Template", + "doc": "

Represents an HTML fragment template. Templates may be precompiled\nfor greater performance.

\n\n\n

An instance of this class may be created by passing to the constructor either\na single argument, or multiple arguments:

\n\n
\n\n", + "extends": null, + "mixins": [ + + ], + "alternateClassNames": [ + + ], + "xtype": null, + "author": null, + "docauthor": null, + "singleton": false, + "private": false, + "cfg": [ + { + "tagname": "cfg", + "name": "disableFormats", + "member": "Ext.Template", + "type": "Boolean", + "doc": "

true to disable format functions in the template. If the template doesn't contain format functions, setting\ndisableFormats to true will reduce apply time (defaults to false)

\n", + "private": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 111, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-cfg-disableFormats", + "shortDoc": "true to disable format functions in the template. If the template doesn't contain format functions, setting\ndisableFo..." + } + ], + "method": [ + { + "tagname": "method", + "name": "append", + "member": "Ext.Template", + "doc": "

Applies the supplied values to the template and appends\nthe new node(s) to the specified el.

\n\n

For example usage see the constructor.

\n\n", + "params": [ + { + "type": "Mixed", + "name": "el", + "doc": "

The context element

\n", + "optional": false + }, + { + "type": "Object/Array", + "name": "values", + "doc": "

The template values. Can be an array if the params are numeric (i.e. {0})\nor an object (i.e. {foo: 'bar'}).

\n", + "optional": false + }, + { + "type": "Boolean", + "name": "returnElement", + "doc": "

(optional) true to return an Ext.core.Element (defaults to undefined)

\n", + "optional": true + } + ], + "return": { + "type": "HTMLElement/Ext.core.Element", + "doc": "

The new node or Element

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 237, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-append", + "shortDoc": "Applies the supplied values to the template and appends\nthe new node(s) to the specified el.\n\nFor example usage see t..." + }, + { + "tagname": "method", + "name": "apply", + "member": "Ext.Template", + "doc": "

Alias for applyTemplate\nReturns an HTML fragment of this template with the specified values applied.

\n", + "params": [ + { + "type": "Object/Array", + "name": "values", + "doc": "

The template values. Can be an array if the params are numeric (i.e. {0})\nor an object (i.e. {foo: 'bar'}).

\n", + "optional": false + } + ], + "return": { + "type": "String", + "doc": "

The HTML fragment

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 272, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-apply", + "shortDoc": "

Alias for applyTemplate\nReturns an HTML fragment of this template with the specified values applied.

\n" + }, + { + "tagname": "method", + "name": "from", + "member": "Ext.Template", + "doc": "

Creates a template from the passed element's value (display:none textarea, preferred) or innerHTML.

\n", + "params": [ + { + "type": "String/HTMLElement", + "name": "el", + "doc": "

A DOM element or its id

\n", + "optional": false + }, + { + "type": "Object", + "name": "config", + "doc": "

A configuration object

\n", + "optional": false + } + ], + "return": { + "type": "Ext.Template", + "doc": "

The created template

\n" + }, + "private": false, + "static": true, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 59, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-from", + "shortDoc": "

Creates a template from the passed element's value (display:none textarea, preferred) or innerHTML.

\n" + }, + { + "tagname": "method", + "name": "insertAfter", + "member": "Ext.Template", + "doc": "

Applies the supplied values to the template and inserts the new node(s) after el.

\n", + "params": [ + { + "type": "Mixed", + "name": "el", + "doc": "

The context element

\n", + "optional": false + }, + { + "type": "Object/Array", + "name": "values", + "doc": "

The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})

\n", + "optional": false + }, + { + "type": "Boolean", + "name": "returnElement", + "doc": "

(optional) true to return a Ext.core.Element (defaults to undefined)

\n", + "optional": true + } + ], + "return": { + "type": "HTMLElement/Ext.core.Element", + "doc": "

The new node or Element

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 226, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-insertAfter", + "shortDoc": "

Applies the supplied values to the template and inserts the new node(s) after el.

\n" + }, + { + "tagname": "method", + "name": "insertBefore", + "member": "Ext.Template", + "doc": "

Applies the supplied values to the template and inserts the new node(s) before el.

\n", + "params": [ + { + "type": "Mixed", + "name": "el", + "doc": "

The context element

\n", + "optional": false + }, + { + "type": "Object/Array", + "name": "values", + "doc": "

The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})

\n", + "optional": false + }, + { + "type": "Boolean", + "name": "returnElement", + "doc": "

(optional) true to return a Ext.core.Element (defaults to undefined)

\n", + "optional": true + } + ], + "return": { + "type": "HTMLElement/Ext.core.Element", + "doc": "

The new node or Element

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 215, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-insertBefore", + "shortDoc": "

Applies the supplied values to the template and inserts the new node(s) before el.

\n" + }, + { + "tagname": "method", + "name": "insertFirst", + "member": "Ext.Template", + "doc": "

Applies the supplied values to the template and inserts the new node(s) as the first child of el.

\n", + "params": [ + { + "type": "Mixed", + "name": "el", + "doc": "

The context element

\n", + "optional": false + }, + { + "type": "Object/Array", + "name": "values", + "doc": "

The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})

\n", + "optional": false + }, + { + "type": "Boolean", + "name": "returnElement", + "doc": "

(optional) true to return a Ext.core.Element (defaults to undefined)

\n", + "optional": true + } + ], + "return": { + "type": "HTMLElement/Ext.core.Element", + "doc": "

The new node or Element

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 204, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-insertFirst", + "shortDoc": "

Applies the supplied values to the template and inserts the new node(s) as the first child of el.

\n" + }, + { + "tagname": "method", + "name": "overwrite", + "member": "Ext.Template", + "doc": "

Applies the supplied values to the template and overwrites the content of el with the new node(s).

\n", + "params": [ + { + "type": "Mixed", + "name": "el", + "doc": "

The context element

\n", + "optional": false + }, + { + "type": "Object/Array", + "name": "values", + "doc": "

The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})

\n", + "optional": false + }, + { + "type": "Boolean", + "name": "returnElement", + "doc": "

(optional) true to return a Ext.core.Element (defaults to undefined)

\n", + "optional": true + } + ], + "return": { + "type": "HTMLElement/Ext.core.Element", + "doc": "

The new node or Element

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 258, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-overwrite", + "shortDoc": "

Applies the supplied values to the template and overwrites the content of el with the new node(s).

\n" + }, + { + "tagname": "method", + "name": "set", + "member": "Ext.Template", + "doc": "

Sets the HTML used as the template and optionally compiles it.

\n", + "params": [ + { + "type": "String", + "name": "html", + "doc": "\n", + "optional": false + }, + { + "type": "Boolean", + "name": "compile", + "doc": "

(optional) True to compile the template (defaults to undefined)

\n", + "optional": true + } + ], + "return": { + "type": "Ext.Template", + "doc": "

this

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 154, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template-method-set", + "shortDoc": "

Sets the HTML used as the template and optionally compiles it.

\n" + } + ], + "property": [ + + ], + "event": [ + + ], + "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Template.js", + "linenr": 1, + "html_filename": "Template2.html", + "href": "Template2.html#Ext-Template", + "cssVar": [ + + ], + "cssMixin": [ + + ], + "component": false, + "superclasses": [ + + ], + "subclasses": [ + "Ext.XTemplate" + ], + "mixedInto": [ + + ], + "allMixins": [ + + ] +}); \ No newline at end of file