Module

Halogen.Aff.Util

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

#awaitLoad Source

awaitLoad :: Aff Unit

Waits for the document to load.

#awaitBody Source

awaitBody :: Aff HTMLElement

Waits for the document to load and then finds the body element.

#selectElement Source

selectElement :: QuerySelector -> Aff (Maybe HTMLElement)

Tries to find an element in the document.

#runHalogenAff Source

runHalogenAff :: forall x. Aff x -> Effect Unit

Runs an Aff value of the type commonly used by Halogen components. Any unhandled errors will be re-thrown as exceptions.