Module
Halogen.HTML.Properties
- Package
- purescript-halogen
- Repository
- purescript-halogen/purescript-halogen
A closed signature of type-indexed (refined) HTML properties; these can be used to ensure correctness by construction, and then erased into the standard unrefined versions.
#style Source
style :: forall r i. String -> IProp (style :: String | r) i
Sets the style
attribute to the specified string.
... [ style "height: 50px;" ]
If you prefer to use typed CSS for this attribute, you can use the purescript-halogen-css library: https://github.com/purescript-halogen/purescript-halogen-css
#scope Source
scope :: forall r i. ScopeValue -> IProp (scope :: ScopeValue | r) i
#method Source
method :: forall r i. FormMethod -> IProp (method :: FormMethod | r) i
#accept Source
accept :: forall r i. InputAcceptType -> IProp (accept :: InputAcceptType | r) i
#preload Source
preload :: forall r i. PreloadValue -> IProp (preload :: PreloadValue | r) i
Re-exports from DOM.HTML.Indexed
Re-exports from DOM.HTML.Indexed.ButtonType
Re-exports from DOM.HTML.Indexed.FormMethod
Re-exports from DOM.HTML.Indexed.InputAcceptType
#InputAcceptType Source
Re-exports from DOM.HTML.Indexed.InputType
Re-exports from DOM.HTML.Indexed.MenuType
Re-exports from DOM.HTML.Indexed.MenuitemType
Re-exports from DOM.HTML.Indexed.OnOff
Re-exports from DOM.HTML.Indexed.OrderedListType
Re-exports from DOM.HTML.Indexed.PreloadValue
Re-exports from DOM.HTML.Indexed.ScopeValue
Re-exports from DOM.HTML.Indexed.StepValue
- Modules
- Halogen
- Halogen.
Aff - Halogen.
Aff. Driver - Halogen.
Aff. Driver. Eval - Halogen.
Aff. Driver. State - Halogen.
Aff. Util - Halogen.
Component - Halogen.
Component. Profunctor - Halogen.
Data. OrdBox - Halogen.
Data. Slot - Halogen.
HTML - Halogen.
HTML. Core - Halogen.
HTML. Elements - Halogen.
HTML. Elements. Keyed - Halogen.
HTML. Events - Halogen.
HTML. Properties - Halogen.
HTML. Properties. ARIA - Halogen.
Query - Halogen.
Query. ChildQuery - Halogen.
Query. Event - Halogen.
Query. HalogenM - Halogen.
Query. HalogenQ - Halogen.
Query. Input - Halogen.
VDom. Driver