Safe Haskell | None |
---|---|
Language | Haskell2010 |
- radioGroup :: forall t m a. (MonadWidget t m, Eq a, Show a) => Dynamic t String -> Dynamic t [(a, String)] -> GWidget t m (Maybe a)
- bootstrapButtonGroup :: forall t m a. (MonadWidget t m, Eq a, Show a) => Dynamic t [(a, String)] -> GWidget t m (Maybe a)
- buttonGroup :: forall t m a. (MonadWidget t m, Eq a, Show a) => String -> (Maybe Int -> Dynamic t a -> Dynamic t Bool -> m (Event t (), Dynamic t Bool)) -> Dynamic t (Map Int a) -> GWidget t m (Maybe a)
Documentation
:: (MonadWidget t m, Eq a, Show a) | |
=> Dynamic t String | The name for the button group (different groups should be given different names) |
-> Dynamic t [(a, String)] | Selectable values and their string labels |
-> GWidget t m (Maybe a) | Radio group in a |
A group of radio buttons in a table layout
:: (MonadWidget t m, Eq a, Show a) | |
=> Dynamic t [(a, String)] | Selectable values and their string labels |
-> GWidget t m (Maybe a) | Button group in a |
Produce a bootstrap button group
:: (MonadWidget t m, Eq a, Show a) | |
=> String | Html tag name for the container (normally |
-> (Maybe Int -> Dynamic t a -> Dynamic t Bool -> m (Event t (), Dynamic t Bool)) | WidgetMonadic action for rendering a single button, returning click events and focus state |
-> Dynamic t (Map Int a) | Mapping from indices (used for layout order) to result elements |
-> GWidget t m (Maybe a) | Returning a GWidget (function from |
A general container for collecting drawable buttons into a group with one selection, under the HtmlWidget interface