Module

Flame.HTML.Event

Package
purescript-flame
Repository
easafe/purescript-flame

Definition of HTML events

#EventName Source

#createEvent Source

createEvent :: forall message. EventName -> message -> NodeData message

Raises the given message for the given event

#createRawEvent Source

createRawEvent :: forall message. String -> (Event -> Effect message) -> NodeData message

Raises the given message for the given event, but also supplies the event itself

#onClick Source

onClick :: forall a. a -> NodeData a

#onInput Source

onInput :: forall a. (String -> a) -> NodeData a

This event fires when the value of an input, select, textarea, contenteditable or designMode on elements changes