Module

Halogen.VDom.DOM.Prop

Package
purescript-halogen-vdom
Repository
slamdata/purescript-halogen-vdom

#Prop Source

data Prop a

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

Constructors

Instances

#ElemRef Source

data ElemRef a

Constructors

Instances

#PropValue Source

data PropValue :: Type

#propFromInt Source

#buildProp Source

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`.