Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deal with attribute maps, which revolves mostly around assigning a class so we get appropriate styling
Synopsis
- type AttrMap = Map Text Text
- attrUnion :: AttrMap -> AttrMap -> AttrMap
- isSelectedAttr :: Bool -> AttrMap
- whenAttr :: Text -> Bool -> AttrMap
- inputAttr :: Reflex t => Dynamic t AttrMap
- classAttr :: Text -> AttrMap
- disabled :: AttrMap
- isHidden :: AttrMap
- switchAttr :: Text -> Text -> Bool -> AttrMap
- colspan :: Int -> AttrMap