haskell-halogen-core
Safe HaskellNone
LanguageGHC2021

Halogen.HTML.Events

Synopsis

Documentation

handler :: forall (r :: Row Type) i. EventType -> (Event -> i) -> IProp r i Source #

handler' :: forall (r :: Row Type) i. EventType -> (Event -> Maybe i) -> IProp r i Source #

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 #

onLoad :: forall (r :: Row Type) i. HasType "onLoad" 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 #

dragHandler :: (DragEvent -> 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 #

Attaches event handler to event key with getting prop field as an | argument of handler.

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.

onValueInput :: forall (r :: Row Type) i. (HasType "value" Text r, HasType "onInput" Event r) => (Text -> i) -> IProp r i Source #

Attaches an event handler which will fire on input.

onChecked :: forall (r :: Row Type) i. (HasType "checked" Bool r, HasType "onChange" Event r) => (Bool -> i) -> IProp r i Source #

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