
DocElem is a container node which models a branch of the doc tree.
See docLib::Fandoc for usage.
Slots
- addChild
- anchorId
-
Str anchorId
- children
-
DocNode[] children
- htmlName
-
abstract Str htmlName()
Get the HTML element name to use for this element.
- isBlock
-
Bool isBlock()
Is this a block element versus an inline element.
- isInline
-
abstract Bool isInline()
Is this an inline versus a block element.
- write
-
override Void write(DocWriter out)
Write this element and its children to the specified DocWriter.
- writeChildren
-
Void writeChildren(DocWriter out)
Write this element's children to the specified DocWriter.