Module
Flame.Html.Event
- Package
- purescript-flame
- Repository
- easafe/purescript-flame
Definition of HTML events that can be fired from views
#ToRawEvent Source
type ToRawEvent message = (Event -> message) -> NodeData message
#ToSpecialEvent Source
type ToSpecialEvent message t = (t -> message) -> NodeData message
#createEvent Source
createEvent :: forall message. EventName -> message -> NodeData message
Raises the given message
for the event
#createEventMessage Source
createEventMessage :: forall message. EventName -> (Event -> message) -> NodeData message
Helper for message
s that expect an event
#onBlur' Source
onBlur' :: forall message. ToRawEvent message
#onCheck Source
onCheck :: forall message. ToSpecialEvent message Boolean
Helper for input
event of checkboxes and radios
#onClick' Source
onClick' :: forall message. ToRawEvent message
#onChange' Source
onChange' :: forall message. ToRawEvent message
#onDblclick Source
onDblclick :: forall message. ToEvent message
#onDblclick' Source
onDblclick' :: forall message. ToRawEvent message
#onDrag' Source
onDrag' :: forall message. ToRawEvent message
#onDragend' Source
onDragend' :: forall message. ToRawEvent message
#onDragenter Source
onDragenter :: forall message. ToEvent message
#onDragenter' Source
onDragenter' :: forall message. ToRawEvent message
#onDragleave Source
onDragleave :: forall message. ToEvent message
#onDragleave' Source
onDragleave' :: forall message. ToRawEvent message
#onDragover Source
onDragover :: forall message. ToEvent message
#onDragover' Source
onDragover' :: forall message. ToRawEvent message
#onDragstart Source
onDragstart :: forall message. ToEvent message
#onDragstart' Source
onDragstart' :: forall message. ToRawEvent message
#onDrop' Source
onDrop' :: forall message. ToRawEvent message
#onError' Source
onError' :: forall message. ToRawEvent message
#onFocus' Source
onFocus' :: forall message. ToRawEvent message
#onFocusin' Source
onFocusin' :: forall message. ToRawEvent message
#onFocusout Source
onFocusout :: forall message. ToEvent message
#onFocusout' Source
onFocusout' :: forall message. ToRawEvent message
#onInput Source
onInput :: forall message. ToSpecialEvent message String
This event fires when the value of an input, select, textarea, contenteditable or designMode on elements changes
#onInput' Source
onInput' :: forall message. ToRawEvent message
#onKeydown' Source
onKeydown' :: forall message. ToRawEvent message
#onKeypress Source
onKeypress :: forall message. ToSpecialEvent message (Tuple Key String)
#onKeypress' Source
onKeypress' :: forall message. ToRawEvent message
#onKeyup' Source
onKeyup' :: forall message. ToRawEvent message
#onMousedown Source
onMousedown :: forall message. ToEvent message
#onMousedown' Source
onMousedown' :: forall message. ToRawEvent message
#onMouseenter Source
onMouseenter :: forall message. ToEvent message
#onMouseenter' Source
onMouseenter' :: forall message. ToRawEvent message
#onMouseleave Source
onMouseleave :: forall message. ToEvent message
#onMouseleave' Source
onMouseleave' :: forall message. ToRawEvent message
#onMousemove Source
onMousemove :: forall message. ToEvent message
#onMousemove' Source
onMousemove' :: forall message. ToRawEvent message
#onMouseout Source
onMouseout :: forall message. ToEvent message
#onMouseout' Source
onMouseout' :: forall message. ToRawEvent message
#onMouseover Source
onMouseover :: forall message. ToEvent message
#onMouseover' Source
onMouseover' :: forall message. ToRawEvent message
#onMouseup' Source
onMouseup' :: forall message. ToRawEvent message
#onReset' Source
onReset' :: forall message. ToRawEvent message
#onScroll' Source
onScroll' :: forall message. ToRawEvent message
#onSelect Source
onSelect :: forall message. ToSpecialEvent message String
#onSelect' Source
onSelect' :: forall message. ToRawEvent message
#onSubmit' Source
onSubmit' :: forall message. ToRawEvent message
#onWheel' Source
onWheel' :: forall message. ToRawEvent message
- Modules
- Flame
- Flame.
Application. EffectList - Flame.
Application. Effectful - Flame.
Application. Internal. Dom - Flame.
Application. Internal. PreMount - Flame.
Application. NoEffects - Flame.
Html. Attribute - Flame.
Html. Attribute. Internal - Flame.
Html. Element - Flame.
Html. Event - Flame.
Internal. Equality - Flame.
Renderer. Internal. Dom - Flame.
Renderer. String - Flame.
Serialization - Flame.
Subscription - Flame.
Subscription. Document - Flame.
Subscription. Internal. Create - Flame.
Subscription. Internal. Listener - Flame.
Subscription. Unsafe. CustomEvent - Flame.
Subscription. Window - Flame.
Types