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",
20 "name" : "insertHtml",
22 "desc" : "Inserts an HTML fragment into the Dom",
23 "sig" : "(where, el, html)",
27 "isConstructor" : false,
39 "desc" : "Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd.",
44 "type" : "HTMLElement",
45 "desc" : "The context element",
51 "desc" : "The HTML fragmenet",
58 "type" : "HTMLElement",
59 "desc" : "The new node"
64 "name" : "createTemplate",
66 "desc" : "Creates a new Roo.DomHelper.Template from the Dom object spec",
71 "isConstructor" : false,
83 "desc" : "The Dom object spec (and children)",
90 "type" : "Roo.DomHelper.Template",
91 "desc" : "The new template"
96 "name" : "insertAfter",
98 "desc" : "Creates new Dom element(s) and inserts them after el",
99 "sig" : "(el, o, returnElement)",
103 "isConstructor" : false,
114 "type" : "String/HTMLElement/Element",
115 "desc" : "The context element",
121 "desc" : "The Dom object spec (and children)",
125 "name" : "returnElement",
127 "desc" : "(optional) true to return a Roo.Element",
134 "type" : "HTMLElement/Roo.Element",
135 "desc" : "The new node"
140 "name" : "insertFirst",
142 "desc" : "Creates new Dom element(s) and inserts them as the first child of el",
143 "sig" : "(el, o, returnElement)",
147 "isConstructor" : false,
158 "type" : "String/HTMLElement/Element",
159 "desc" : "The context element",
164 "type" : "Object/String",
165 "desc" : "The Dom object spec (and children) or raw HTML blob",
169 "name" : "returnElement",
171 "desc" : "(optional) true to return a Roo.Element",
178 "type" : "HTMLElement/Roo.Element",
179 "desc" : "The new node"
186 "desc" : "Creates new Dom element(s) and appends them to el",
187 "sig" : "(el, o, returnElement)",
191 "isConstructor" : false,
202 "type" : "String/HTMLElement/Element",
203 "desc" : "The context element",
208 "type" : "Object/String",
209 "desc" : "The Dom object spec (and children) or raw HTML blob",
213 "name" : "returnElement",
215 "desc" : "(optional) true to return a Roo.Element",
222 "type" : "HTMLElement/Roo.Element",
223 "desc" : "The new node"
228 "name" : "applyStyles",
230 "desc" : "Applies a style specification to an element",
231 "sig" : "(el, styles)",
235 "isConstructor" : false,
246 "type" : "String/HTMLElement",
247 "desc" : "The element to apply styles to",
252 "type" : "String/Object/Function",
253 "desc" : "A style specification string eg \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
262 "desc" : "Returns the markup for the passed Element(s) config",
267 "isConstructor" : false,
279 "desc" : "The Dom object spec (and children)",
292 "name" : "overwrite",
294 "desc" : "Creates new Dom element(s) and overwrites the contents of el with them",
295 "sig" : "(el, o, returnElement)",
299 "isConstructor" : false,
310 "type" : "String/HTMLElement/Element",
311 "desc" : "The context element",
316 "type" : "Object/String",
317 "desc" : "The Dom object spec (and children) or raw HTML blob",
321 "name" : "returnElement",
323 "desc" : "(optional) true to return a Roo.Element",
330 "type" : "HTMLElement/Roo.Element",
331 "desc" : "The new node"
336 "name" : "insertBefore",
338 "desc" : "Creates new Dom element(s) and inserts them before el",
339 "sig" : "(el, o, returnElement)",
343 "isConstructor" : false,
354 "type" : "String/HTMLElement/Element",
355 "desc" : "The context element",
360 "type" : "Object/String",
361 "desc" : "The Dom object spec (and children) or raw HTML blob",
365 "name" : "returnElement",
367 "desc" : "(optional) true to return a Roo.Element",
374 "type" : "HTMLElement/Roo.Element",
375 "desc" : "The new node"