LayoutScope
ElementSink for a layout { ... } body that captures the single root Node.
The HTML tag helpers append into this scope; adding more than one top-level element is an error.
Functions
Link copied to clipboard
Captures node as the single root.
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
Sets the root to a node of the given type, built via NodeBuilder.
Link copied to clipboard
Appends a p (paragraph) element to this sink.
Link copied to clipboard
Appends a span element to this sink.