{
"name" : "Roo.Template",
- "augments" : [
- ],
+ "augments" : [],
"desc" : "Represents an HTML fragment template. Templates can be precompiled for greater performance.\nFor a list of available format functions, see {@link Roo.util.Format}.<br />\nUsage:\n<pre><code>\nvar t = new Roo.Template({\n html : '<div name=\"{id}\">' + \n '<span class=\"{cls}\">{name:trim} {someval:this.myformat}{value:ellipsis(10)}</span>' +\n '</div>',\n myformat: function (value, allValues) {\n return 'XX' + value;\n }\n});\nt.append('some-element', {id: 'myid', cls: 'myclass', name: 'foo', value: 'bar'});\n</code></pre>\nFor more information see this blog post with examples:\n <a href=\"http://www.cnitblog.com/seeyeah/archive/2011/12/30/38728.html/\">DomHelper\n - Create Elements using DOM, HTML fragments and Templates</a>.",
"isSingleton" : false,
"isStatic" : false,
"isOptional" : false
}
],
- "returns" : [
- ],
+ "returns" : [],
"config" : [
{
"name" : "html",
"type" : "String",
"desc" : "The HTML fragment or an array of fragments to join(\"\") or multiple arguments to join(\"\")",
"memberOf" : "Roo.Template",
- "optvals" : [
- ]
+ "optvals" : []
},
{
"name" : "url",
"type" : "String",
"desc" : "The Url to load the template from. beware if you are loading from a url, the data may not be ready if you use it instantly..\n it should be fixed so that template is observable...",
"memberOf" : "Roo.Template",
- "optvals" : [
- ]
+ "optvals" : []
}
],
"methods" : [
"deprecated" : "",
"since" : "",
"see" : "",
- "params" : [
- ],
+ "params" : [],
"returns" : [
{
"name" : "",
"isOptional" : false
}
],
- "returns" : [
- ]
+ "returns" : []
},
{
"name" : "insertAfter",
"deprecated" : "",
"since" : "",
"see" : "",
- "params" : [
- ],
- "returns" : [
- ]
+ "params" : [],
+ "returns" : []
}
],
- "events" : [
- ]
+ "events" : []
}
\ No newline at end of file