ihp-hsx-1.3.0: JSX-like but for Haskell
Copyright(c) digitally induced GmbH 2023
Safe HaskellSafe-Inferred
LanguageHaskell2010

IHP.HSX.Attribute

Description

 

Documentation

class ApplyAttribute value where Source #

Methods

applyAttribute :: Text -> Text -> value -> Html -> Html Source #

Instances

Instances details
ApplyAttribute AttributeValue Source # 
Instance details

Defined in IHP.HSX.Attribute

ApplyAttribute Bool Source # 
Instance details

Defined in IHP.HSX.Attribute

Methods

applyAttribute :: Text -> Text -> Bool -> Html -> Html Source #

ConvertibleStrings value AttributeValue => ApplyAttribute value Source # 
Instance details

Defined in IHP.HSX.Attribute

Methods

applyAttribute :: Text -> Text -> value -> Html -> Html Source #

ApplyAttribute attribute => ApplyAttribute (Maybe attribute) Source # 
Instance details

Defined in IHP.HSX.Attribute

Methods

applyAttribute :: Text -> Text -> Maybe attribute -> Html -> Html Source #