2 "name" : "Roo.DomHelper",
4 "desc" : "Utility class for working with DOM and/or Templates. It transparently supports using HTML fragments or DOM.\nFor more information see <a href=\"http://web.archive.org/web/20071221063734/http://www.jackslocum.com/blog/2006/10/06/domhelper-create-elements-using-dom-html-fragments-or-templates/\">this blog post with examples</a>.",
8 "memberOf" : "DomHelper",
18 "name" : "insertHtml",
19 "desc" : "Inserts an HTML fragment into the Dom",
21 "isConstructor" : false,
23 "memberOf" : "Roo.DomHelper",
32 "desc" : "Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd.",
37 "type" : "HTMLElement",
38 "desc" : "The context element",
44 "desc" : "The HTML fragmenet",
51 "type" : "HTMLElement",
52 "desc" : "The new node"
57 "name" : "createTemplate",
58 "desc" : "Creates a new Roo.DomHelper.Template from the Dom object spec",
60 "isConstructor" : false,
62 "memberOf" : "Roo.DomHelper",
71 "desc" : "The Dom object spec (and children)",
78 "type" : "Roo.DomHelper.Template",
79 "desc" : "The new template"
84 "name" : "insertAfter",
85 "desc" : "Creates new Dom element(s) and inserts them after el",
87 "isConstructor" : false,
89 "memberOf" : "Roo.DomHelper",
97 "type" : "String/HTMLElement/Element",
98 "desc" : "The context element",
104 "desc" : "The Dom object spec (and children)",
108 "name" : "returnElement",
110 "desc" : "(optional) true to return a Roo.Element",
117 "type" : "HTMLElement/Roo.Element",
118 "desc" : "The new node"
123 "name" : "insertFirst",
124 "desc" : "Creates new Dom element(s) and inserts them as the first child of el",
126 "isConstructor" : false,
128 "memberOf" : "Roo.DomHelper",
136 "type" : "String/HTMLElement/Element",
137 "desc" : "The context element",
142 "type" : "Object/String",
143 "desc" : "The Dom object spec (and children) or raw HTML blob",
147 "name" : "returnElement",
149 "desc" : "(optional) true to return a Roo.Element",
156 "type" : "HTMLElement/Roo.Element",
157 "desc" : "The new node"
163 "desc" : "Creates new Dom element(s) and appends them to el",
165 "isConstructor" : false,
167 "memberOf" : "Roo.DomHelper",
175 "type" : "String/HTMLElement/Element",
176 "desc" : "The context element",
181 "type" : "Object/String",
182 "desc" : "The Dom object spec (and children) or raw HTML blob",
186 "name" : "returnElement",
188 "desc" : "(optional) true to return a Roo.Element",
195 "type" : "HTMLElement/Roo.Element",
196 "desc" : "The new node"
201 "name" : "applyStyles",
202 "desc" : "Applies a style specification to an element",
204 "isConstructor" : false,
206 "memberOf" : "Roo.DomHelper",
214 "type" : "String/HTMLElement",
215 "desc" : "The element to apply styles to",
220 "type" : "String/Object/Function",
221 "desc" : "A style specification string eg \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
229 "desc" : "Returns the markup for the passed Element(s) config",
231 "isConstructor" : false,
233 "memberOf" : "Roo.DomHelper",
242 "desc" : "The Dom object spec (and children)",
255 "name" : "overwrite",
256 "desc" : "Creates new Dom element(s) and overwrites the contents of el with them",
258 "isConstructor" : false,
260 "memberOf" : "Roo.DomHelper",
268 "type" : "String/HTMLElement/Element",
269 "desc" : "The context element",
274 "type" : "Object/String",
275 "desc" : "The Dom object spec (and children) or raw HTML blob",
279 "name" : "returnElement",
281 "desc" : "(optional) true to return a Roo.Element",
288 "type" : "HTMLElement/Roo.Element",
289 "desc" : "The new node"
294 "name" : "insertBefore",
295 "desc" : "Creates new Dom element(s) and inserts them before el",
297 "isConstructor" : false,
299 "memberOf" : "Roo.DomHelper",
307 "type" : "String/HTMLElement/Element",
308 "desc" : "The context element",
313 "type" : "Object/String",
314 "desc" : "The Dom object spec (and children) or raw HTML blob",
318 "name" : "returnElement",
320 "desc" : "(optional) true to return a Roo.Element",
327 "type" : "HTMLElement/Roo.Element",
328 "desc" : "The new node"