Module

Halogen.VDom.DOM

Package
purescript-halogen-vdom
Repository
slamdata/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 w a. 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 w a. VDomBuilder String a w

#buildElem Source

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

#buildKeyed Source

#buildWidget Source

buildWidget :: forall w a. VDomBuilder w a w