bulmex-2.1.0: Reflex infused with bulma (css)

Safe HaskellNone
LanguageHaskell2010

Reflex.Bulmex.Modal

Description

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

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.

modal' :: (PostBuild t m, MonadHold t m, MonadFix m, DomBuilder t m) => Event t () -> Event t () -> m a -> m (a, Event t OnClose) Source #

A modal that can be opened and closed with events. Also has a cross to close it.

modalClose :: (PostBuild t m, MonadHold t m, MonadFix m, DomBuilder t m) => Event t () -> m (a, Event t ()) -> m (a, Event t OnClose) Source #