DomBuilder<L, V> class
abstract
DOM builder context.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
{String? tag}) → L - Close the current element.
-
innerHtml(
String value) → void - Write unsafe HTML node.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String tag, {String? key, String? id, Iterable< String> ? classes, Map<String, String> ? styles, Map<String, String> ? attributes, Map<String, DomEventFn< ? events, DomLifecycleEventFn<L, V> >L> ? onCreate, DomLifecycleEventFn<L> ? onUpdate, DomLifecycleEventFn<L> ? onRemove}) → void - Open a new DOM element.
-
skipNode(
) → void - Skip the current node untouched (if exists).
-
skipRemainingNodes(
) → void - Skip the remaining nodes untouched (if they exist).
-
text(
String value) → void - Write text node.
-
toString(
) → String -
A string representation of this object.
inherited
-
visit(
DomNode node) → void -
Calls DomNode.build with the current DomBuilder on
node
. -
visitAll(
Iterable< DomNode> nodes) → void -
Calls DomNode.build with the current DomBuilder on all
nodes
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited