Module

Solid.DOM.AttrValue

Package
purescript-purs-solid
Repository
arazorda/purs-solid

How attribute values are handed to the DOM. Instances cover primitives and the dom-indexed value types; add one for your own types to use them with the property helpers (e.g. a newtype over String).

#AttrRep Source

data AttrRep

#booleanAttr Source

booleanAttr :: Boolean -> AttrRep

true sets the attribute (empty value), false removes it.