X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.MasterTemplate.json;fp=docs%2Fsymbols%2FRoo.MasterTemplate.json;h=c62f1d4b3fa3aa41161b8d8f6a3fd846017b667b;hp=f1006310df8fbe49e7f10a6f3574bb0d0842bd72;hb=a66f0a954c17d9febb8c6835bd474ccbadfcf2fd;hpb=1ceaae5125b6781e11416dd48109611cfe182be3 diff --git a/docs/symbols/Roo.MasterTemplate.json b/docs/symbols/Roo.MasterTemplate.json index f1006310df..c62f1d4b3f 100644 --- a/docs/symbols/Roo.MasterTemplate.json +++ b/docs/symbols/Roo.MasterTemplate.json @@ -8,7 +8,7 @@ "tree_parent" : [], "desc" : "Provides a template that can have child templates. The syntax is:\n
\nvar t = new Roo.MasterTemplate(\n\t'<select name=\"{name}\">',\n\t\t'<tpl name=\"options\"><option value=\"{value:trim}\">{text:ellipsis(10)}</option></tpl>',\n\t'</select>'\n);\nt.add('options', {value: 'foo', text: 'bar'});\n// or you can add multiple child elements in one shot\nt.addAll('options', [\n    {value: 'foo', text: 'bar'},\n    {value: 'foo2', text: 'bar2'},\n    {value: 'foo3', text: 'bar3'}\n]);\n// then append, applying the master template values\nt.append('my-form', {name: 'my-select'});\n
\nA name attribute for the child template is not required if you have only one child\ntemplate or you want to refer to them by index.", "isSingleton" : false, - "isStatic" : false, + "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, "isBuilderTop" : false,