Object | +--YAHOO.ext.DomHelper
| Nested Class Summary | |
<static class> |
YAHOO.ext.DomHelper.Template |
| Field Summary | |
Boolean |
useDom
True to force the use of DOM instead of html fragments |
| Method Summary * Parameter types in italic indicate optional parameters | |
HTMLElement
|
append(<HTMLElement> el, <Object> o)
Creates new Dom element(s) and appends them to el |
YAHOO.ext.DomHelper.Template
|
createTemplate(<Object> o)
Creates a new YAHOO.ext.DomHelper.Template from the Dom object spec |
HTMLElement
|
insertAfter(<HTMLElement> el, <Object> o)
Creates new Dom element(s) and inserts them after el |
HTMLElement
|
insertBefore(<HTMLElement> el, <Object> o)
Creates new Dom element(s) and inserts them before el |
HTMLElement
|
insertHtml(<String> where, <HTMLElement> el, <String> html)
Inserts an HTML fragment into the Dom |
HTMLElement
|
overwrite(<HTMLElement> el, <Object> o)
Creates new Dom element(s) and overwrites the contents of el with them |
| Field Detail |
Boolean useDom
| Method Detail |
HTMLElement append(<HTMLElement> el, <Object> o)
el - The context element
o - The Dom object spec (and children)
YAHOO.ext.DomHelper.Template createTemplate(<Object> o)
o - The Dom object spec (and children)
HTMLElement insertAfter(<HTMLElement> el, <Object> o)
el - The context element
o - The Dom object spec (and children)
HTMLElement insertBefore(<HTMLElement> el, <Object> o)
el - The context element
o - The Dom object spec (and children)
HTMLElement insertHtml(<String> where, <HTMLElement> el, <String> html)
where - Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd.
el - The context element
html - The HTML fragmenet
HTMLElement overwrite(<HTMLElement> el, <Object> o)
el - The context element
o - The Dom object spec (and children)