Module

Halogen.VDom.DOM.Prop

#Prop

data Prop a

Attributes, properties, event handlers, and element lifecycles. Parameterized by the type of handlers outputs.

Constructors

Instances

#ElemRef

data ElemRef a

Constructors

Instances

#PropValue

data PropValue :: Type

#propFromString

#propFromBoolean

#propFromInt

#propFromNumber

#buildProp

buildProp :: forall a. (a -> Effect Unit) -> Element -> Machine (Array (Prop a)) Unit

A Machine`` for applying attributes, properties, and event handlers. An emitter effect must be provided to respond to events. For example, to allow arbitrary effects in event handlers, one could useid`.

Modules