Module

VOM

Package
purescript-vom
Repository
oreshinya/purescript-vom

#VProp Source

data VProp e

#VNode Source

data VNode e

Constructors

Instances

#h Source

h :: forall e. String -> Array (Tuple String (VProp e)) -> Array (VNode e) -> VNode e

#t Source

t :: forall e. String -> VNode e

#attribute Source

attribute :: forall e. String -> String -> Tuple String (VProp e)

#(:=) Source

Operator alias for VOM.attribute (right-associative / precedence 1)

#handler Source

handler :: forall e. String -> (Event -> Eff e Unit) -> Tuple String (VProp e)

#(~>) Source

Operator alias for VOM.handler (right-associative / precedence 1)

#stringTo Source

stringTo :: forall e. (String -> Eff (dom :: DOM | e) Unit) -> (Event -> Eff (dom :: DOM | e) Unit)

#noneTo Source

noneTo :: forall e. Eff (dom :: DOM | e) Unit -> (Event -> Eff (dom :: DOM | e) Unit)

#patch Source

patch :: forall e. Maybe (VNode (dom :: DOM | e)) -> Maybe (VNode (dom :: DOM | e)) -> Node -> Eff (dom :: DOM | e) Unit
Modules
VOM