haskell-halogen-core
Safe HaskellNone
LanguageGHC2021

Halogen.IO.Util

Synopsis

Documentation

awaitLoad :: (MonadDOM m, MonadIO m) => m () Source #

Waits for the document to load.

awaitBody :: (MonadDOM m, MonadIO m) => m HTMLElement Source #

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

selectElement :: MonadDOM m => QuerySelector -> m (Maybe HTMLElement) Source #

Tries to find an element in the document.