Skip to content

Latest commit

 

History

History
228 lines (151 loc) · 3.11 KB

Events.md

File metadata and controls

228 lines (151 loc) · 3.11 KB

Module Halogen.HTML.Events

This module defines well-typed wrappers for common DOM events, so that they may be safely embedded in HTML documents.

EventProp

type EventProp e i = (Event e -> EventHandler i) -> Prop i

input

input :: forall f a. (a -> Action f) -> a -> EventHandler (f Unit)

input_

input_ :: forall f a. Action f -> a -> EventHandler (f Unit)

onAbort

onAbort :: forall i. EventProp () i

onBeforeUnload

onBeforeUnload :: forall i. EventProp () i

onError

onError :: forall i. EventProp () i

onHashChange

onHashChange :: forall i. EventProp () i

onLoad

onLoad :: forall i. EventProp () i

onPageShow

onPageShow :: forall i. EventProp () i

onPageHide

onPageHide :: forall i. EventProp () i

onResize

onResize :: forall i. EventProp () i

onScroll

onScroll :: forall i. EventProp () i

onUnload

onUnload :: forall i. EventProp () i

onChange

onChange :: forall i. EventProp () i

onInput

onInput :: forall i. EventProp () i

onInvalid

onInvalid :: forall i. EventProp () i

onReset

onReset :: forall i. EventProp () i

onSearch

onSearch :: forall i. EventProp () i

onSelect

onSelect :: forall i. EventProp () i

onSubmit

onSubmit :: forall i. EventProp () i

onClick

onClick :: forall i. EventProp MouseEvent i

onContextMenu

onContextMenu :: forall i. EventProp MouseEvent i

onDoubleClick

onDoubleClick :: forall i. EventProp MouseEvent i

onMouseDown

onMouseDown :: forall i. EventProp MouseEvent i

onMouseEnter

onMouseEnter :: forall i. EventProp MouseEvent i

onMouseLeave

onMouseLeave :: forall i. EventProp MouseEvent i

onMouseMove

onMouseMove :: forall i. EventProp MouseEvent i

onMouseOver

onMouseOver :: forall i. EventProp MouseEvent i

onMouseOut

onMouseOut :: forall i. EventProp MouseEvent i

onMouseUp

onMouseUp :: forall i. EventProp MouseEvent i

onKeyDown

onKeyDown :: forall i. EventProp KeyboardEvent i

onKeyPress

onKeyPress :: forall i. EventProp KeyboardEvent i

onKeyUp

onKeyUp :: forall i. EventProp KeyboardEvent i

onBlur

onBlur :: forall i. EventProp FocusEvent i

onFocus

onFocus :: forall i. EventProp FocusEvent i

onFocusIn

onFocusIn :: forall i. EventProp FocusEvent i

onFocusOut

onFocusOut :: forall i. EventProp FocusEvent i