Module
Halogen.Aff.Util
- Package
- purescript-halogen
- Repository
- slamdata/purescript-halogen
#awaitBody Source
awaitBody :: forall eff. Aff (dom :: DOM | eff) HTMLElement
Waits for the document to load and then finds the body
element.
#selectElement Source
selectElement :: forall eff. QuerySelector -> Aff (dom :: DOM | eff) (Maybe HTMLElement)
Tries to find an element in the document.
#runHalogenAff Source
runHalogenAff :: forall x eff. Aff (HalogenEffects eff) x -> Eff (HalogenEffects eff) Unit
Runs an Aff
value of the type commonly used by Halogen components. Any
unhandled errors will be re-thrown as exceptions.
- Modules
- Halogen
- Halogen.
Aff - Halogen.
Aff. Driver - Halogen.
Aff. Driver. Eval - Halogen.
Aff. Driver. State - Halogen.
Aff. Effects - Halogen.
Aff. Util - Halogen.
Component - Halogen.
Component. ChildPath - Halogen.
Component. Profunctor - Halogen.
Data. OrdBox - Halogen.
Data. Prism - Halogen.
HTML - Halogen.
HTML. Core - Halogen.
HTML. Elements - Halogen.
HTML. Elements. Keyed - Halogen.
HTML. Events - Halogen.
HTML. Properties - Halogen.
HTML. Properties. ARIA - Halogen.
Query - Halogen.
Query. EventSource - Halogen.
Query. ForkF - Halogen.
Query. HalogenM - Halogen.
Query. InputF - Halogen.
VDom. Driver