2 "name" : "Roo.DomHelper",
5 "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>.",
13 "name" : "insertHtml",
14 "desc" : "Inserts an HTML fragment into the Dom",
16 "isConstructor" : false,
18 "memberOf" : "Roo.DomHelper",
27 "desc" : "Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd.",
32 "type" : "HTMLElement",
33 "desc" : "The context element",
39 "desc" : "The HTML fragmenet",
46 "type" : "HTMLElement",
47 "desc" : "The new node"
52 "name" : "createTemplate",
53 "desc" : "Creates a new Roo.DomHelper.Template from the Dom object spec",
55 "isConstructor" : false,
57 "memberOf" : "Roo.DomHelper",
66 "desc" : "The Dom object spec (and children)",
73 "type" : "Roo.DomHelper.Template",
74 "desc" : "The new template"
79 "name" : "insertAfter",
80 "desc" : "Creates new Dom element(s) and inserts them after el",
82 "isConstructor" : false,
84 "memberOf" : "Roo.DomHelper",
92 "type" : "String/HTMLElement/Element",
93 "desc" : "The context element",
99 "desc" : "The Dom object spec (and children)",
103 "name" : "returnElement",
105 "desc" : "(optional) true to return a Roo.Element",
112 "type" : "HTMLElement/Roo.Element",
113 "desc" : "The new node"
118 "name" : "insertFirst",
119 "desc" : "Creates new Dom element(s) and inserts them as the first child of el",
121 "isConstructor" : false,
123 "memberOf" : "Roo.DomHelper",
131 "type" : "String/HTMLElement/Element",
132 "desc" : "The context element",
137 "type" : "Object/String",
138 "desc" : "The Dom object spec (and children) or raw HTML blob",
142 "name" : "returnElement",
144 "desc" : "(optional) true to return a Roo.Element",
151 "type" : "HTMLElement/Roo.Element",
152 "desc" : "The new node"
158 "desc" : "Creates new Dom element(s) and appends them to el",
160 "isConstructor" : false,
162 "memberOf" : "Roo.DomHelper",
170 "type" : "String/HTMLElement/Element",
171 "desc" : "The context element",
176 "type" : "Object/String",
177 "desc" : "The Dom object spec (and children) or raw HTML blob",
181 "name" : "returnElement",
183 "desc" : "(optional) true to return a Roo.Element",
190 "type" : "HTMLElement/Roo.Element",
191 "desc" : "The new node"
196 "name" : "applyStyles",
197 "desc" : "Applies a style specification to an element",
199 "isConstructor" : false,
201 "memberOf" : "Roo.DomHelper",
209 "type" : "String/HTMLElement",
210 "desc" : "The element to apply styles to",
215 "type" : "String/Object/Function",
216 "desc" : "A style specification string eg \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
225 "desc" : "Returns the markup for the passed Element(s) config",
227 "isConstructor" : false,
229 "memberOf" : "Roo.DomHelper",
238 "desc" : "The Dom object spec (and children)",
251 "name" : "overwrite",
252 "desc" : "Creates new Dom element(s) and overwrites the contents of el with them",
254 "isConstructor" : false,
256 "memberOf" : "Roo.DomHelper",
264 "type" : "String/HTMLElement/Element",
265 "desc" : "The context element",
270 "type" : "Object/String",
271 "desc" : "The Dom object spec (and children) or raw HTML blob",
275 "name" : "returnElement",
277 "desc" : "(optional) true to return a Roo.Element",
284 "type" : "HTMLElement/Roo.Element",
285 "desc" : "The new node"
290 "name" : "insertBefore",
291 "desc" : "Creates new Dom element(s) and inserts them before el",
293 "isConstructor" : false,
295 "memberOf" : "Roo.DomHelper",
303 "type" : "String/HTMLElement/Element",
304 "desc" : "The context element",
309 "type" : "Object/String",
310 "desc" : "The Dom object spec (and children) or raw HTML blob",
314 "name" : "returnElement",
316 "desc" : "(optional) true to return a Roo.Element",
323 "type" : "HTMLElement/Roo.Element",
324 "desc" : "The new node"