Safe Haskell | None |
---|---|
Language | Haskell2010 |
A div that can hide with bulma is-hidden class
Synopsis
- switchDiv :: (PostBuild t m, DomBuilder t m) => Dynamic t Bool -> m () -> m a -> m a
- hideDiv :: (PostBuild t m, DomBuilder t m) => Dynamic t AttrMap -> Dynamic t Bool -> m a -> m a
- hideDiv_ :: (PostBuild t m, DomBuilder t m) => Dynamic t Bool -> m a -> m a
- hideEmptyDiv :: (Eq (f b), Alternative f, PostBuild t m, DomBuilder t m) => Dynamic t (f b) -> m a -> m a
- hideEmptyDyn :: (Eq (f b), Alternative f, PostBuild t m, DomBuilder t m) => Dynamic t AttrMap -> Dynamic t (f b) -> m a -> m a
Documentation
switchDiv :: (PostBuild t m, DomBuilder t m) => Dynamic t Bool -> m () -> m a -> m a Source #
When the dynamic is true the first monad is shown, otherwise the second.
hideDiv :: (PostBuild t m, DomBuilder t m) => Dynamic t AttrMap -> Dynamic t Bool -> m a -> m a Source #
when dynamic is true ishidden will be added, else the attrmap is used
hideEmptyDiv :: (Eq (f b), Alternative f, PostBuild t m, DomBuilder t m) => Dynamic t (f b) -> m a -> m a Source #
hideEmptyDyn :: (Eq (f b), Alternative f, PostBuild t m, DomBuilder t m) => Dynamic t AttrMap -> Dynamic t (f b) -> m a -> m a Source #