X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..b37ceabb82336ee82757cd32efe353cfab8ec267:/docs/output/Ext.Template.html diff --git a/docs/output/Ext.Template.html b/docs/output/Ext.Template.html index 24821be2..f7cb9cf8 100644 --- a/docs/output/Ext.Template.html +++ b/docs/output/Ext.Template.html @@ -1,4 +1,4 @@ -
Package: | Ext |
Defined In: | Template.js |
Class: | Template |
Subclasses: | XTemplate |
Extends: | Object |
Represents an HTML fragment template. Templates may be precompiled +
Package: | Ext |
Defined In: | Template-more.js |
Class: | Template |
Subclasses: | XTemplate |
Extends: | Object |
Represents an HTML fragment template. Templates may be precompiled for greater performance.
For example usage see the constructor.
Config Options | Defined By | |
---|---|---|
compiled : Boolean Specify true to compile the template
immediately (see compile ).
@@ -21,7 +21,7 @@ to true will reduce Ext.util.Format. | Template | |
re : RegExp The regular expression used to match template variables.
Defaults to:re : /\{([\w-]+)\}/g ... The regular expression used to match template variables.
Defaults to:
| Template |
Property | Defined By | |
---|---|---|
disableFormats : Boolean See disableFormats . | Template | |
re : RegExp See re . | Template |
Method | Defined By | |
---|---|---|
Template( Mixed config )
+re : /\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g // for Ext JS | Template |
Property | Defined By | |
---|---|---|
disableFormats : Boolean See disableFormats . | Template | |
re : RegExp See re . | Template |
Method | Defined By | |
---|---|---|
Template( Mixed config )
An instance of this class may be created by passing to the constructor either
a single argument, or multiple argument... An instance of this class may be created by passing to the constructor either
a single argument, or multiple arguments:
@@ -76,7 +76,12 @@ or an object (i.e. {foo: 'bar'} ).retu
String | Template | |
insertAfter( Mixed el , Object/Array values , [Boolean returnElement ] )
+or an object (i.e. {foo: 'bar'} ).Returns:
| Template | |
applyTemplate( Object/Array values )
+ :
+ StringReturns an HTML fragment of this template with the specified values applied. Returns an HTML fragment of this template with the specified values applied.Parameters:
| Template | |
compile()
+ :
+ Ext.Template Compiles the template into an internal function, eliminating the RegEx overhead. Compiles the template into an internal function, eliminating the RegEx overhead. Parameters:
| Template | |
insertAfter( Mixed el , Object/Array values , [Boolean returnElement ] )
:
HTMLElement/Ext.ElementApplies the supplied values to the template and inserts the new node(s) after el. Applies the supplied values to the template and inserts the new node(s) after el. Parameters:
| Template | |
insertBefore( Mixed el , Object/Array values , [Boolean returnElement ] )
:
|