ElementSink
Receiver for the HTML tag helpers in HtmlTags.kt (div, span, p, img, h1–h6, tag).
Anything that can collect child elements implements this: NodeBuilder (appends to its children) and LayoutScope (captures the single root). Each helper builds a Node and feeds it to addElement.
Inheritors
Functions
Link copied to clipboard
Appends node to this sink.
Link copied to clipboard
Appends a div element to this sink.
Link copied to clipboard
Appends an h1 heading element to this sink.
Link copied to clipboard
Appends an h2 heading element to this sink.
Link copied to clipboard
Appends an h3 heading element to this sink.
Link copied to clipboard
Appends an h4 heading element to this sink.
Link copied to clipboard
Appends an h5 heading element to this sink.
Link copied to clipboard
Appends an h6 heading element to this sink.
Link copied to clipboard
Appends an img element to this sink.
Link copied to clipboard
Appends a p (paragraph) element to this sink.
Link copied to clipboard
Appends a span element to this sink.