bulmex-3.0.0: Reflex infused with bulma (css)

Safe HaskellNone
LanguageHaskell2010

Reflex.Bulmex.Attr

Description

Deal with attribute maps, which revolves mostly around assigning a class so we get appropriate styling

Synopsis

Documentation

type AttrMap = Map Text Text Source #

This type occures to often to not alias

attrUnion :: AttrMap -> AttrMap -> AttrMap Source #

Unifies all keys by concatinating the values with a whitespace

isSelectedAttr :: Bool -> AttrMap Source #

If bool true adds isSelected

classAttr :: Text -> AttrMap Source #

class attr is what is needed most of the time