Module

Halogen.VDom.Driver

Package
purescript-halogen
Repository
slamdata/purescript-halogen

#runUI Source

runUI :: forall f eff i o. Component HTML f i o (Aff (HalogenEffects eff)) -> i -> HTMLElement -> Aff (HalogenEffects eff) (HalogenIO f o (Aff (HalogenEffects eff)))

Re-exports from Halogen.Aff.Driver

#HalogenIO Source

type HalogenIO f o m = { query :: f ~> m, subscribe :: Consumer o m Unit -> m Unit }

A record produced when the root component in a Halogen UI has been run. query allows external sources to query the root component and subscribe allows external consumers to receive messages raised by the root component.