Module

Halogen.VDom.DOM

Package
purescript-halogen-vdom
Repository
purescript-halogen/purescript-halogen-vdom

#VDomSpec Source

newtype VDomSpec a w

Widget machines recursively reference the configured spec to potentially enable recursive trees of Widgets.

Constructors

#buildVDom Source

buildVDom :: forall a w. VDomSpec a w -> VDomMachine a w

Starts an initial VDom machine by providing a VDomSpec.

main = do
  machine1 ← buildVDom spec vdomTree1
  machine2 ← Machine.step machine1 vdomTree2
  machine3 ← Machine.step machine2 vdomTree3
  ...

#buildText Source

buildText :: forall a w. VDomBuilder String a w

#buildElem Source

buildElem :: forall a w. VDomBuilder4 (Maybe Namespace) ElemName a (Array (VDom a w)) a w

#buildKeyed Source

#buildWidget Source

buildWidget :: forall a w. VDomBuilder w a w