bulmex-2.1.0: Reflex infused with bulma (css)

Safe HaskellNone
LanguageHaskell2010

Reflex.Bulmex.Tag.Abstract

Description

Abstract tags, most tags have very similiar overload mechanisms this provides an abstraction over that

Synopsis

Documentation

defaultEl :: (arg -> arg -> arg) -> (arg -> m a -> m a) -> arg -> arg -> m a -> m a Source #

allows us to set a default value for tags by defining a join function not a monoid because often it does it wrong, text needs a space for example in case of classes, and the default map monoid is broken

txtEl :: (Text -> m a -> m a) -> Text -> Text -> m a -> m a Source #

dynAttrEl :: Reflex t => (Dynamic t AttrMap -> m a -> m a) -> AttrMap -> Dynamic t AttrMap -> m a -> m a Source #

partialDiv :: DomBuilder t m => Text -> Text -> m a -> m a Source #