Module

Halogen.HTML.Events

Package
purescript-halogen
Repository
purescript-halogen/purescript-halogen

#handler Source

handler :: forall i r. EventType -> (Event -> Maybe i) -> IProp r i

#onAbort Source

onAbort :: forall i r. (Event -> Maybe i) -> IProp (onAbort :: Event | r) i

#onError Source

onError :: forall i r. (Event -> Maybe i) -> IProp (onError :: Event | r) i

#onLoad Source

onLoad :: forall i r. (Event -> Maybe i) -> IProp (onLoad :: Event | r) i

#onScroll Source

onScroll :: forall i r. (Event -> Maybe i) -> IProp (onScroll :: Event | r) i

#onChange Source

onChange :: forall i r. (Event -> Maybe i) -> IProp (onChange :: Event | r) i

#onFileUpload Source

onFileUpload :: forall t i r. Unfoldable t => (t File -> Maybe i) -> IProp (onChange :: Event | r) i

#onInput Source

onInput :: forall i r. (Event -> Maybe i) -> IProp (onInput :: Event | r) i

#onInvalid Source

onInvalid :: forall i r. (Event -> Maybe i) -> IProp (onInvalid :: Event | r) i

#onReset Source

onReset :: forall i r. (Event -> Maybe i) -> IProp (onReset :: Event | r) i

#onSelect Source

onSelect :: forall i r. (Event -> Maybe i) -> IProp (onSelect :: Event | r) i

#onSubmit Source

onSubmit :: forall i r. (Event -> Maybe i) -> IProp (onSubmit :: Event | r) i

#onTransitionEnd Source

onTransitionEnd :: forall i r. (Event -> Maybe i) -> IProp (onTransitionEnd :: Event | r) i

#onCopy Source

onCopy :: forall i r. (ClipboardEvent -> Maybe i) -> IProp (onCopy :: ClipboardEvent | r) i

#onPaste Source

onPaste :: forall i r. (ClipboardEvent -> Maybe i) -> IProp (onPaste :: ClipboardEvent | r) i

#onCut Source

onCut :: forall i r. (ClipboardEvent -> Maybe i) -> IProp (onCut :: ClipboardEvent | r) i

#onClick Source

onClick :: forall i r. (MouseEvent -> Maybe i) -> IProp (onClick :: MouseEvent | r) i

#onDoubleClick Source

onDoubleClick :: forall i r. (MouseEvent -> Maybe i) -> IProp (onDoubleClick :: MouseEvent | r) i

#onMouseDown Source

onMouseDown :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseDown :: MouseEvent | r) i

#onMouseEnter Source

onMouseEnter :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseEnter :: MouseEvent | r) i

#onMouseLeave Source

onMouseLeave :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseLeave :: MouseEvent | r) i

#onMouseMove Source

onMouseMove :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseMove :: MouseEvent | r) i

#onMouseOver Source

onMouseOver :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseOver :: MouseEvent | r) i

#onMouseOut Source

onMouseOut :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseOut :: MouseEvent | r) i

#onMouseUp Source

onMouseUp :: forall i r. (MouseEvent -> Maybe i) -> IProp (onMouseUp :: MouseEvent | r) i

#onWheel Source

onWheel :: forall i r. (WheelEvent -> Maybe i) -> IProp (onWheel :: WheelEvent | r) i

#onKeyDown Source

onKeyDown :: forall i r. (KeyboardEvent -> Maybe i) -> IProp (onKeyDown :: KeyboardEvent | r) i

#onKeyUp Source

onKeyUp :: forall i r. (KeyboardEvent -> Maybe i) -> IProp (onKeyUp :: KeyboardEvent | r) i

#onBlur Source

onBlur :: forall i r. (FocusEvent -> Maybe i) -> IProp (onBlur :: FocusEvent | r) i

#onFocus Source

onFocus :: forall i r. (FocusEvent -> Maybe i) -> IProp (onFocus :: FocusEvent | r) i

#onFocusIn Source

onFocusIn :: forall i r. (FocusEvent -> Maybe i) -> IProp (onFocusIn :: FocusEvent | r) i

#onFocusOut Source

onFocusOut :: forall i r. (FocusEvent -> Maybe i) -> IProp (onFocusOut :: FocusEvent | r) i

#onDrag Source

onDrag :: forall i r. (DragEvent -> Maybe i) -> IProp (onDrag :: DragEvent | r) i

#onDragEnd Source

onDragEnd :: forall i r. (DragEvent -> Maybe i) -> IProp (onDragEnd :: DragEvent | r) i

#onDragExit Source

onDragExit :: forall i r. (DragEvent -> Maybe i) -> IProp (onDragExit :: DragEvent | r) i

#onDragEnter Source

onDragEnter :: forall i r. (DragEvent -> Maybe i) -> IProp (onDragEnter :: DragEvent | r) i

#onDragLeave Source

onDragLeave :: forall i r. (DragEvent -> Maybe i) -> IProp (onDragLeave :: DragEvent | r) i

#onDragOver Source

onDragOver :: forall i r. (DragEvent -> Maybe i) -> IProp (onDragOver :: DragEvent | r) i

#onDragStart Source

onDragStart :: forall i r. (DragEvent -> Maybe i) -> IProp (onDragStart :: DragEvent | r) i

#onDrop Source

onDrop :: forall i r. (DragEvent -> Maybe i) -> IProp (onDrop :: DragEvent | r) i

#onTouchCancel Source

onTouchCancel :: forall i r. (TouchEvent -> Maybe i) -> IProp (onTouchCancel :: TouchEvent | r) i

#onTouchEnd Source

onTouchEnd :: forall i r. (TouchEvent -> Maybe i) -> IProp (onTouchEnd :: TouchEvent | r) i

#onTouchEnter Source

onTouchEnter :: forall i r. (TouchEvent -> Maybe i) -> IProp (onTouchEnter :: TouchEvent | r) i

#onTouchLeave Source

onTouchLeave :: forall i r. (TouchEvent -> Maybe i) -> IProp (onTouchEnter :: TouchEvent | r) i

#onTouchMove Source

onTouchMove :: forall i r. (TouchEvent -> Maybe i) -> IProp (onTouchMove :: TouchEvent | r) i

#onTouchStart Source

onTouchStart :: forall i r. (TouchEvent -> Maybe i) -> IProp (onTouchStart :: TouchEvent | r) i

#onResize Source

onResize :: forall i r. (Event -> Maybe i) -> IProp (onResize :: Event | r) i

#onValueChange Source

onValueChange :: forall i r. (String -> Maybe i) -> IProp (onChange :: Event, value :: String | r) i

Attaches an event handler which will produce an input when the value of an input field changes.

#onValueInput Source

onValueInput :: forall i r. (String -> Maybe i) -> IProp (onInput :: Event, value :: String | r) i

Attaches an event handler which will fire on input.

#onSelectedIndexChange Source

onSelectedIndexChange :: forall i r. (Int -> Maybe i) -> IProp (onChange :: Event, selectedIndex :: Int | r) i

Attaches an event handler which will produce an input when the seleced index of a select element changes.

#onChecked Source

onChecked :: forall i r. (Boolean -> Maybe i) -> IProp (checked :: Boolean, onChange :: Event | r) i

Attaches an event handler which will fire when a checkbox is checked or unchecked.