Module

Chameleon.Impl.Halogen

Package
purescript-chameleon-halogen
Repository
thought2/purescript-chameleon-halogen

Re-exports from Chameleon.Impl.Halogen.Html

#runHalogenHtml Source

runHalogenHtml :: forall b a. HalogenHtml a -> HTML b a

Re-exports from Chameleon.Impl.Halogen.Mount

#UI Source

type UI :: (Type -> Type) -> Type -> Type -> Typetype UI html msg sta = { init :: sta, update :: msg -> sta -> sta, view :: sta -> html msg }

#uiToHalogenComponent Source

uiToHalogenComponent :: forall q i o msg sta. { onStateChange :: sta -> Effect Unit } -> UI HalogenHtml msg sta -> Component q i o Aff

#uiMountAtId Source

uiMountAtId :: forall q o. String -> Component q Unit o Aff -> Effect Unit