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>.",
9 "memberOf" : "DomHelper",
22 "name" : "insertHtml",
23 "desc" : "Inserts an HTML fragment into the Dom",
25 "isConstructor" : false,
27 "memberOf" : "Roo.DomHelper",
36 "desc" : "Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd.",
41 "type" : "HTMLElement",
42 "desc" : "The context element",
48 "desc" : "The HTML fragmenet",
55 "type" : "HTMLElement",
56 "desc" : "The new node"
61 "name" : "createTemplate",
62 "desc" : "Creates a new Roo.DomHelper.Template from the Dom object spec",
64 "isConstructor" : false,
66 "memberOf" : "Roo.DomHelper",
75 "desc" : "The Dom object spec (and children)",
82 "type" : "Roo.DomHelper.Template",
83 "desc" : "The new template"
88 "name" : "insertAfter",
89 "desc" : "Creates new Dom element(s) and inserts them after el",
91 "isConstructor" : false,
93 "memberOf" : "Roo.DomHelper",
101 "type" : "String/HTMLElement/Element",
102 "desc" : "The context element",
108 "desc" : "The Dom object spec (and children)",
112 "name" : "returnElement",
114 "desc" : "(optional) true to return a Roo.Element",
121 "type" : "HTMLElement/Roo.Element",
122 "desc" : "The new node"
127 "name" : "insertFirst",
128 "desc" : "Creates new Dom element(s) and inserts them as the first child of el",
130 "isConstructor" : false,
132 "memberOf" : "Roo.DomHelper",
140 "type" : "String/HTMLElement/Element",
141 "desc" : "The context element",
146 "type" : "Object/String",
147 "desc" : "The Dom object spec (and children) or raw HTML blob",
151 "name" : "returnElement",
153 "desc" : "(optional) true to return a Roo.Element",
160 "type" : "HTMLElement/Roo.Element",
161 "desc" : "The new node"
167 "desc" : "Creates new Dom element(s) and appends them to el",
169 "isConstructor" : false,
171 "memberOf" : "Roo.DomHelper",
179 "type" : "String/HTMLElement/Element",
180 "desc" : "The context element",
185 "type" : "Object/String",
186 "desc" : "The Dom object spec (and children) or raw HTML blob",
190 "name" : "returnElement",
192 "desc" : "(optional) true to return a Roo.Element",
199 "type" : "HTMLElement/Roo.Element",
200 "desc" : "The new node"
205 "name" : "applyStyles",
206 "desc" : "Applies a style specification to an element",
208 "isConstructor" : false,
210 "memberOf" : "Roo.DomHelper",
218 "type" : "String/HTMLElement",
219 "desc" : "The element to apply styles to",
224 "type" : "String/Object/Function",
225 "desc" : "A style specification string eg \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
234 "desc" : "Returns the markup for the passed Element(s) config",
236 "isConstructor" : false,
238 "memberOf" : "Roo.DomHelper",
247 "desc" : "The Dom object spec (and children)",
260 "name" : "overwrite",
261 "desc" : "Creates new Dom element(s) and overwrites the contents of el with them",
263 "isConstructor" : false,
265 "memberOf" : "Roo.DomHelper",
273 "type" : "String/HTMLElement/Element",
274 "desc" : "The context element",
279 "type" : "Object/String",
280 "desc" : "The Dom object spec (and children) or raw HTML blob",
284 "name" : "returnElement",
286 "desc" : "(optional) true to return a Roo.Element",
293 "type" : "HTMLElement/Roo.Element",
294 "desc" : "The new node"
299 "name" : "insertBefore",
300 "desc" : "Creates new Dom element(s) and inserts them before el",
302 "isConstructor" : false,
304 "memberOf" : "Roo.DomHelper",
312 "type" : "String/HTMLElement/Element",
313 "desc" : "The context element",
318 "type" : "Object/String",
319 "desc" : "The Dom object spec (and children) or raw HTML blob",
323 "name" : "returnElement",
325 "desc" : "(optional) true to return a Roo.Element",
332 "type" : "HTMLElement/Roo.Element",
333 "desc" : "The new node"