Module
Halogen.VDom.Types
- Package
- purescript-halogen-vdom
- Repository
- slamdata/purescript-halogen-vdom
#VDom Source
data VDom a w
The core virtual-dom tree type, where a
is the type of attributes,
and w
is the type of "widgets". Widgets are machines that have complete
control over the lifecycle of some DOM.Node
.
The Grafted
constructor and associated machinery enables bimap
fusion using a Coyoneda-like encoding.
Constructors
Text String
Elem (ElemSpec a) (Array (VDom a w))
Keyed (ElemSpec a) (Array (Tuple String (VDom a w)))
Widget w
Grafted (Graft a w)