public static interface Html5.ParentElement<This extends T4,T4> extends Html4.ParentElement<T4>, Html5.Element<This,T4>
This interface contains methods to add children to this parent.
Default Methods | |
---|---|
This |
add(Object... children)
Add children to this parent.
|
This |
add(Runnable code)
Run `code` with this element as the context parent.
|
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, getChildList, removeChild, render, setChild
accesskey, attr, attr, attr, class_, class_add, contenteditable, contextmenu, data, dir, draggable, dropzone, hidden, id, inert, itemid, itemprop, itemref, itemscope, itemtype, lang, on, spellcheck, style, tabindex, title, translate
attr, getAttribute, setAttribute
default This add(Object... children)
Html4.ParentElement
The children are first detached from the context parent.
See ContextParent.detachThenAddTo(children, parent)
.
add
in interface Html4.ParentElement<T4>
default This add(Runnable code)
Html4.ParentElement
add
in interface Html4.ParentElement<T4>