Safe Haskell | None |
---|---|
Language | Haskell2010 |
A modal dialogue, eg pop up, for example to confirm an action. Puts code behinds bulma's modal styling: https://bulma.io/documentation/components/modal/
Synopsis
- modal :: (PostBuild t m, MonadHold t m, MonadFix m, DomBuilder t m) => Event t () -> m a -> m (a, Event t OnClose)
- data OnClose
- modal' :: (PostBuild t m, MonadHold t m, MonadFix m, DomBuilder t m) => Event t () -> Event t () -> m a -> m (a, Event t OnClose)
- modalClose :: (PostBuild t m, MonadHold t m, MonadFix m, DomBuilder t m) => Event t () -> m (a, Event t ()) -> m (a, Event t OnClose)
Documentation
modal :: (PostBuild t m, MonadHold t m, MonadFix m, DomBuilder t m) => Event t () -> m a -> m (a, Event t OnClose) Source #
A modal that opens on event and has a cross to close it.