Safe Haskell | None |
---|---|
Language | GHC2021 |
Halogen.HTML.Events
Synopsis
- handler :: forall (r :: Row Type) i. EventType -> (Event -> i) -> IProp r i
- handler' :: forall (r :: Row Type) i. EventType -> (Event -> Maybe i) -> IProp r i
- onAbort :: forall (r :: Row Type) i. HasType "onAbort" Event r => (Event -> i) -> IProp r i
- onError :: forall (r :: Row Type) i. HasType "onError" Event r => (Event -> i) -> IProp r i
- onLoad :: forall (r :: Row Type) i. HasType "onLoad" Event r => (Event -> i) -> IProp r i
- onScroll :: forall (r :: Row Type) i. HasType "onScroll" Event r => (Event -> i) -> IProp r i
- onChange :: forall (r :: Row Type) i. HasType "onChange" Event r => (Event -> i) -> IProp r i
- onInput :: forall (r :: Row Type) i. HasType "onInput" Event r => (Event -> i) -> IProp r i
- onInvalid :: forall (r :: Row Type) i. HasType "onInvalid" Event r => (Event -> i) -> IProp r i
- onReset :: forall (r :: Row Type) i. HasType "onReset" Event r => (Event -> i) -> IProp r i
- onSelect :: forall (r :: Row Type) i. HasType "onSelect" Event r => (Event -> i) -> IProp r i
- onSubmit :: forall (r :: Row Type) i. HasType "onSubmit" Event r => (Event -> i) -> IProp r i
- onTransitionEnd :: forall (r :: Row Type) i. HasType "onTransitionEnd" Event r => (Event -> i) -> IProp r i
- onCopy :: forall (r :: Row Type) i. HasType "onCopy" ClipboardEvent r => (ClipboardEvent -> i) -> IProp r i
- onPaste :: forall (r :: Row Type) i. HasType "onPaste" ClipboardEvent r => (ClipboardEvent -> i) -> IProp r i
- onCut :: forall (r :: Row Type) i. HasType "onCut" ClipboardEvent r => (ClipboardEvent -> i) -> IProp r i
- onAuxClick :: forall (r :: Row Type) i. HasType "onAuxClick" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onClick :: forall (r :: Row Type) i. HasType "onClick" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onDoubleClick :: forall (r :: Row Type) i. HasType "onDoubleClick" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseDown :: forall (r :: Row Type) i. HasType "onMouseDown" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseEnter :: forall (r :: Row Type) i. HasType "onMouseEnter" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseLeave :: forall (r :: Row Type) i. HasType "onMouseLeave" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseMove :: forall (r :: Row Type) i. HasType "onMouseMove" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseOver :: forall (r :: Row Type) i. HasType "onMouseOver" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseOut :: forall (r :: Row Type) i. HasType "onMouseOut" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onMouseUp :: forall (r :: Row Type) i. HasType "onMouseUp" MouseEvent r => (MouseEvent -> i) -> IProp r i
- onWheel :: forall (r :: Row Type) i. HasType "onWheel" WheelEvent r => (WheelEvent -> i) -> IProp r i
- onKeyDown :: forall (r :: Row Type) i. HasType "onKeyDown" KeyboardEvent r => (KeyboardEvent -> i) -> IProp r i
- onKeyUp :: forall (r :: Row Type) i. HasType "onKeyUp" KeyboardEvent r => (KeyboardEvent -> i) -> IProp r i
- onBlur :: forall (r :: Row Type) i. HasType "onBlur" FocusEvent r => (FocusEvent -> i) -> IProp r i
- onFocus :: forall (r :: Row Type) i. HasType "onFocus" FocusEvent r => (FocusEvent -> i) -> IProp r i
- onFocusIn :: forall (r :: Row Type) i. HasType "onFocusIn" FocusEvent r => (FocusEvent -> i) -> IProp r i
- onFocusOut :: forall (r :: Row Type) i. HasType "onFocusOut" FocusEvent r => (FocusEvent -> i) -> IProp r i
- onDrag :: forall (r :: Row Type) i. HasType "onDrag" DragEvent r => (DragEvent -> i) -> IProp r i
- onDragEnd :: forall (r :: Row Type) i. HasType "onDragEnd" DragEvent r => (DragEvent -> i) -> IProp r i
- onDragExit :: forall (r :: Row Type) i. HasType "onDragExit" DragEvent r => (DragEvent -> i) -> IProp r i
- onDragEnter :: forall (r :: Row Type) i. HasType "onDragEnter" DragEvent r => (DragEvent -> i) -> IProp r i
- onDragLeave :: forall (r :: Row Type) i. HasType "onDragLeave" DragEvent r => (DragEvent -> i) -> IProp r i
- onDragOver :: forall (r :: Row Type) i. HasType "onDragOver" DragEvent r => (DragEvent -> i) -> IProp r i
- onDragStart :: forall (r :: Row Type) i. HasType "onDragStart" DragEvent r => (DragEvent -> i) -> IProp r i
- onDrop :: forall (r :: Row Type) i. HasType "onDrop" DragEvent r => (DragEvent -> i) -> IProp r i
- onTouchCancel :: forall (r :: Row Type) i. HasType "onTouchCancel" TouchEvent r => (TouchEvent -> i) -> IProp r i
- onTouchEnd :: forall (r :: Row Type) i. HasType "onTouchEnd" TouchEvent r => (TouchEvent -> i) -> IProp r i
- onTouchEnter :: forall (r :: Row Type) i. HasType "onTouchEnter" TouchEvent r => (TouchEvent -> i) -> IProp r i
- onTouchLeave :: forall (r :: Row Type) i. HasType "onTouchLeave" TouchEvent r => (TouchEvent -> i) -> IProp r i
- onTouchMove :: forall (r :: Row Type) i. HasType "onTouchMove" TouchEvent r => (TouchEvent -> i) -> IProp r i
- onTouchStart :: forall (r :: Row Type) i. HasType "onTouchStart" TouchEvent r => (TouchEvent -> i) -> IProp r i
- onResize :: forall (r :: Row Type) i. HasType "onResize" Event r => (Event -> i) -> IProp r i
- keyHandler :: (KeyboardEvent -> i) -> Event -> i
- mouseHandler :: (MouseEvent -> i) -> Event -> i
- wheelHandler :: (WheelEvent -> i) -> Event -> i
- focusHandler :: (FocusEvent -> i) -> Event -> i
- dragHandler :: (DragEvent -> i) -> Event -> i
- clipboardHandler :: (ClipboardEvent -> i) -> Event -> i
- touchHandler :: (TouchEvent -> i) -> Event -> i
- addForeignPropHandler :: forall {k} value (tag :: k) (r :: Row Type) i. EventType -> Text -> (Foreign tag -> Maybe value) -> (value -> i) -> IProp r i
- onValueChange :: forall (r :: Row Type) i. (HasType "value" Text r, HasType "onChange" Event r) => (Text -> i) -> IProp r i
- onInputValueChange :: forall (r :: Row Type) i. (HasType "value" Text r, HasType "onInput" Event r) => (Text -> Maybe i) -> IProp r i
- onSelectedIndexChange :: forall (r :: Row Type) i. (HasType "selectedIndex" Int r, HasType "onChange" Event r) => (Int -> i) -> IProp r i
- onValueInput :: forall (r :: Row Type) i. (HasType "value" Text r, HasType "onInput" Event r) => (Text -> i) -> IProp r i
- onChecked :: forall (r :: Row Type) i. (HasType "checked" Bool r, HasType "onChange" Event r) => (Bool -> i) -> IProp r i
Documentation
onAbort :: forall (r :: Row Type) i. HasType "onAbort" Event r => (Event -> i) -> IProp r i Source #
onError :: forall (r :: Row Type) i. HasType "onError" Event r => (Event -> i) -> IProp r i Source #
onScroll :: forall (r :: Row Type) i. HasType "onScroll" Event r => (Event -> i) -> IProp r i Source #
onChange :: forall (r :: Row Type) i. HasType "onChange" Event r => (Event -> i) -> IProp r i Source #
onInput :: forall (r :: Row Type) i. HasType "onInput" Event r => (Event -> i) -> IProp r i Source #
onInvalid :: forall (r :: Row Type) i. HasType "onInvalid" Event r => (Event -> i) -> IProp r i Source #
onReset :: forall (r :: Row Type) i. HasType "onReset" Event r => (Event -> i) -> IProp r i Source #
onSelect :: forall (r :: Row Type) i. HasType "onSelect" Event r => (Event -> i) -> IProp r i Source #
onSubmit :: forall (r :: Row Type) i. HasType "onSubmit" Event r => (Event -> i) -> IProp r i Source #
onTransitionEnd :: forall (r :: Row Type) i. HasType "onTransitionEnd" Event r => (Event -> i) -> IProp r i Source #
onCopy :: forall (r :: Row Type) i. HasType "onCopy" ClipboardEvent r => (ClipboardEvent -> i) -> IProp r i Source #
onPaste :: forall (r :: Row Type) i. HasType "onPaste" ClipboardEvent r => (ClipboardEvent -> i) -> IProp r i Source #
onCut :: forall (r :: Row Type) i. HasType "onCut" ClipboardEvent r => (ClipboardEvent -> i) -> IProp r i Source #
onAuxClick :: forall (r :: Row Type) i. HasType "onAuxClick" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onClick :: forall (r :: Row Type) i. HasType "onClick" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onDoubleClick :: forall (r :: Row Type) i. HasType "onDoubleClick" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseDown :: forall (r :: Row Type) i. HasType "onMouseDown" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseEnter :: forall (r :: Row Type) i. HasType "onMouseEnter" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseLeave :: forall (r :: Row Type) i. HasType "onMouseLeave" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseMove :: forall (r :: Row Type) i. HasType "onMouseMove" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseOver :: forall (r :: Row Type) i. HasType "onMouseOver" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseOut :: forall (r :: Row Type) i. HasType "onMouseOut" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onMouseUp :: forall (r :: Row Type) i. HasType "onMouseUp" MouseEvent r => (MouseEvent -> i) -> IProp r i Source #
onWheel :: forall (r :: Row Type) i. HasType "onWheel" WheelEvent r => (WheelEvent -> i) -> IProp r i Source #
onKeyDown :: forall (r :: Row Type) i. HasType "onKeyDown" KeyboardEvent r => (KeyboardEvent -> i) -> IProp r i Source #
onKeyUp :: forall (r :: Row Type) i. HasType "onKeyUp" KeyboardEvent r => (KeyboardEvent -> i) -> IProp r i Source #
onBlur :: forall (r :: Row Type) i. HasType "onBlur" FocusEvent r => (FocusEvent -> i) -> IProp r i Source #
onFocus :: forall (r :: Row Type) i. HasType "onFocus" FocusEvent r => (FocusEvent -> i) -> IProp r i Source #
onFocusIn :: forall (r :: Row Type) i. HasType "onFocusIn" FocusEvent r => (FocusEvent -> i) -> IProp r i Source #
onFocusOut :: forall (r :: Row Type) i. HasType "onFocusOut" FocusEvent r => (FocusEvent -> i) -> IProp r i Source #
onDrag :: forall (r :: Row Type) i. HasType "onDrag" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDragEnd :: forall (r :: Row Type) i. HasType "onDragEnd" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDragExit :: forall (r :: Row Type) i. HasType "onDragExit" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDragEnter :: forall (r :: Row Type) i. HasType "onDragEnter" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDragLeave :: forall (r :: Row Type) i. HasType "onDragLeave" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDragOver :: forall (r :: Row Type) i. HasType "onDragOver" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDragStart :: forall (r :: Row Type) i. HasType "onDragStart" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onDrop :: forall (r :: Row Type) i. HasType "onDrop" DragEvent r => (DragEvent -> i) -> IProp r i Source #
onTouchCancel :: forall (r :: Row Type) i. HasType "onTouchCancel" TouchEvent r => (TouchEvent -> i) -> IProp r i Source #
onTouchEnd :: forall (r :: Row Type) i. HasType "onTouchEnd" TouchEvent r => (TouchEvent -> i) -> IProp r i Source #
onTouchEnter :: forall (r :: Row Type) i. HasType "onTouchEnter" TouchEvent r => (TouchEvent -> i) -> IProp r i Source #
onTouchLeave :: forall (r :: Row Type) i. HasType "onTouchLeave" TouchEvent r => (TouchEvent -> i) -> IProp r i Source #
onTouchMove :: forall (r :: Row Type) i. HasType "onTouchMove" TouchEvent r => (TouchEvent -> i) -> IProp r i Source #
onTouchStart :: forall (r :: Row Type) i. HasType "onTouchStart" TouchEvent r => (TouchEvent -> i) -> IProp r i Source #
onResize :: forall (r :: Row Type) i. HasType "onResize" Event r => (Event -> i) -> IProp r i Source #
keyHandler :: (KeyboardEvent -> i) -> Event -> i Source #
mouseHandler :: (MouseEvent -> i) -> Event -> i Source #
wheelHandler :: (WheelEvent -> i) -> Event -> i Source #
focusHandler :: (FocusEvent -> i) -> Event -> i Source #
dragHandler :: (DragEvent -> i) -> Event -> i Source #
clipboardHandler :: (ClipboardEvent -> i) -> Event -> i Source #
touchHandler :: (TouchEvent -> i) -> Event -> i Source #
addForeignPropHandler :: forall {k} value (tag :: k) (r :: Row Type) i. EventType -> Text -> (Foreign tag -> Maybe value) -> (value -> i) -> IProp r i Source #
onValueChange :: forall (r :: Row Type) i. (HasType "value" Text r, HasType "onChange" Event r) => (Text -> i) -> IProp r i Source #
Attaches an event handler which will produce an input when the value of an | input field changes.
onInputValueChange :: forall (r :: Row Type) i. (HasType "value" Text r, HasType "onInput" Event r) => (Text -> Maybe i) -> IProp r i Source #
onSelectedIndexChange :: forall (r :: Row Type) i. (HasType "selectedIndex" Int r, HasType "onChange" Event r) => (Int -> i) -> IProp r i Source #
Attaches an event handler which will produce an input when the seleced index of a
| select
element changes.