Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- popupPane :: forall t m a. MonadWidget t m => PopupPaneSize -> Event t (PopupInputWidget t m a) -> m (Event t a, Dynamic t Bool)
- popupPaneSimple :: forall t m a. MonadWidget t m => PopupPaneSize -> Event t (m (Event t a)) -> m (Event t a, Dynamic t Bool)
Documentation
:: forall t m a. MonadWidget t m | |
=> PopupPaneSize | |
-> Event t (PopupInputWidget t m a) | |
-> m (Event t a, Dynamic t Bool) | (inner widget event, popup state) |
popupPane can only emit a single event before closing itself clicking outside the popup closes the popup and emits no events (conisder disabling this as default behavior?)
:: forall t m a. MonadWidget t m | |
=> PopupPaneSize | |
-> Event t (m (Event t a)) | when inner event fires, popup is disabled |
-> m (Event t a, Dynamic t Bool) | (inner widget event, popup state) |
a simple popup pane the inner popup pane event closes the popup pane (e.g. notification dialog box with "ok" button) clicking outside or pressing escape closes the popup and emits no events