browser library

Classes

DomBuilder<L, V>
DOM builder context.
DomComponent<L, V>
Dynamic component with overrides.
DomElement<L, V>
Element.
DomEvent<L, V>
Data for native DOM events.
DomLifecycleEvent<L>
Data for DOM lifecycle events.
DomNode<L, V>
Low-level component building block.
DomText
Text node.
DomView
Provides lifecycle handling for a hierarchy of components. A DomView re-builds the UI after invalidate() is called.

Functions

registerView({required Element root, required DomBuilderFn<Element, Event> builderFn, bool skipInitialUpdate = false}) DomView
Register DOM view in browser.

Typedefs

DomBuilderFn<L, V> = void Function(DomBuilder<L, V> b)
DOM builder function.
DomEventFn<L, V> = dynamic Function(DomEvent<L, V> event)
DOM event callback function.
DomLifecycleEventFn<L> = dynamic Function(DomLifecycleEvent<L> event)
DOM lifecycle event callback function.