Module

Halogen.HTML.Events

Package
purescript-halogen
Repository
slamdata/purescript-halogen

#input Source

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

#input_ Source

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

#handler Source

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

#onAbort Source

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

#onError Source

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

#onLoad Source

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

#onScroll Source

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

#onChange Source

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

#onInput Source

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

#onInvalid Source

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

#onReset Source

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

#onSelect Source

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

#onSubmit Source

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

#onTransitionEnd Source

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

#onCopy Source

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

#onPaste Source

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

#onCut Source

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

#onClick Source

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

#onContextMenu Source

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

#onDoubleClick Source

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

#onMouseDown Source

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

#onMouseEnter Source

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

#onMouseLeave Source

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

#onMouseMove Source

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

#onMouseOver Source

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

#onMouseOut Source

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

#onMouseUp Source

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

#onWheel Source

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

#onKeyDown Source

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

#onKeyPress Source

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

#onKeyUp Source

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

#onBlur Source

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

#onFocus Source

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

#onFocusIn Source

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

#onFocusOut Source

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

#onDrag Source

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

#onDragEnd Source

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

#onDragExit Source

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

#onDragEnter Source

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

#onDragLeave Source

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

#onDragOver Source

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

#onDragStart Source

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

#onDrop Source

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

#onTouchCancel Source

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

#onTouchEnd Source

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

#onTouchEnter Source

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

#onTouchLeave Source

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

#onTouchMove Source

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

#onTouchStart Source

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

#onResize Source

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

#onValueChange Source

onValueChange :: forall r i. (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 r i. (String -> Maybe i) -> IProp (onInput :: Event, value :: String | r) i

Attaches an event handler which will fire on input.

#onSelectedIndexChange Source

onSelectedIndexChange :: forall r i. (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 r i. (Boolean -> Maybe i) -> IProp (checked :: Boolean, onChange :: Event | r) i

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