ElementNodeBuilder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun attr(init: TreeBuilder.ClosingScope.() -> Pair<String, Any>)

adds an attribute to the node.

Link copied to clipboard
open override fun attrs(init: TreeBuilder.ClosingScope.() -> Map<String, Any>)

adds attributes to the node.

Link copied to clipboard
open override fun element(type: String, init: TreeBuilder.ElementNodeBuilder.() -> Unit?)

adds an ElementNode as a child.

Link copied to clipboard
open override fun text(init: TreeBuilder.ClosingScope.() -> String)

adds a TextNode as a child.