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).
#AttrValue Source
class AttrValue a whereMembers
toAttrValue :: a -> AttrRep
Instances
AttrValue StringAttrValue BooleanAttrValue IntAttrValue NumberAttrValue MediaTypeAttrValue AutocompleteTypeAttrValue ButtonTypeAttrValue CrossOriginValueAttrValue DirValueAttrValue FormMethodAttrValue InputAcceptTypeAttrValue InputTypeAttrValue KindValueAttrValue MenuTypeAttrValue MenuitemTypeAttrValue OrderedListTypeAttrValue PreloadValueAttrValue ScopeValueAttrValue StepValueAttrValue WrapValue
#stringAttr Source
stringAttr :: String -> AttrRep#booleanAttr Source
booleanAttr :: Boolean -> AttrReptrue sets the attribute (empty value), false removes it.
#numberAttr Source
numberAttr :: Number -> AttrRep- Modules
- Solid.
Action - Solid.
Async - Solid.
Component - Solid.
Component. JS - Solid.
Context - Solid.
Control - Solid.
DOM - Solid.
DOM. Aria - Solid.
DOM. AttrValue - Solid.
DOM. HTML - Solid.
DOM. SVG - Solid.
Errors - Solid.
Internal. Action - Solid.
Internal. Equality - Solid.
Internal. Identity - Solid.
Internal. Names - Solid.
Internal. Optimistic - Solid.
Internal. Props - Solid.
Internal. Reply - Solid.
Internal. Serializable - Solid.
Internal. ServerFunction - Solid.
Internal. Setup - Solid.
Internal. Store - Solid.
Internal. Tracked - Solid.
Internal. View - Solid.
JSX - Solid.
Lifecycle - Solid.
Meta - Solid.
Owner - Solid.
Reactivity - Solid.
Root - Solid.
Router - Solid.
Router. Action - Solid.
Router. Path - Solid.
Router. Query - Solid.
Router. Search - Solid.
Setup - Solid.
Signal - Solid.
Start. Middleware - Solid.
Start. RequestEvent - Solid.
Start. Response - Solid.
Start. ServerFunction - Solid.
Start. UseServer - Solid.
Store - Solid.
Testing - Solid.
Utility - Solid.
Web - Solid.
Web. SSR