Module
Bonsai.Html.Internal
- Package
- purescript-bonsai
- Repository
- grmble/purescript-bonsai
Bonsai HTML Internal module.
Implements the HTML DSL. Heavily inspired by Smolder.
#HasAttribute Source
#(!?) Source
Operator alias for Bonsai.Html.Internal.withOptionalAttribute (left-associative / precedence 4)
#(#!?) Source
Operator alias for Bonsai.Html.Internal.withOptionalStyle (left-associative / precedence 4)
#stringProperty Source
stringProperty :: forall msg. String -> String -> Property msg
Create a string property.
#booleanProperty Source
booleanProperty :: forall msg. String -> Boolean -> Property msg
Create a boolean property.
#withOptionalAttribute Source
withOptionalAttribute :: forall msg h. HasAttribute h (Property msg) => h -> Maybe (Property msg) -> h
Add an optional attribute (operator !?)
Add an attribute to element node