type
DocElem
src
@Js
abstract class DocElem : DocNode
DocElem is a container node which models a branch of the doc tree.
See pod doc for usage.
fields
methods
add |
Add a child to this node. |
---|---|
addAll |
Convenicence to call |
addChild | |
children |
Get a readonly list of this elements's children. |
eachChild |
Iterate the children nodes |
htmlName |
Get the HTML element name to use for this element. |
insert |
Insert a child node at the specified index. |
path |
Covariant override to narrow path to list of |
remove |
Remove a child node. |
removeAll |
Remove all child nodes. |
toText |
Get all the DocText children as a string |
write |
Write this element and its children to the specified DocWriter. |
writeChildren |
Write this element's children to the specified DocWriter. |
Slot Details
add
addAll
addChild
src
@Deprecated { msg="Use add()" }
This addChild(DocNode node)