type Target = { value :: String, checked :: Boolean }
type ClipboardEvent = { target :: Target, currentTarget :: Target }
type CompositionEvent = { target :: Target, currentTarget :: Target, data :: String }
type KeyboardEvent = { target :: Target, currentTarget :: Target, altKey :: Boolean, ctrlKey :: Boolean, charCode :: Int, key :: String, keyCode :: Int, locale :: String, location :: Int, metaKey :: Boolean, repeat :: Boolean, shiftKey :: Boolean, which :: Int }
type FocusEvent = { target :: Target, currentTarget :: Target, relatedTarget :: Target }
type FormEvent = { target :: Target, currentTarget :: Target }
type MouseEvent = { target :: Target, currentTarget :: Target, altKey :: Boolean, button :: Number, buttons :: Number, clientX :: Number, clientY :: Number, ctrlKey :: Boolean, metaKey :: Boolean, pageX :: Number, pageY :: Number, screenX :: Number, screenY :: Number, shiftKey :: Boolean }
type SelectionEvent = { target :: Target, currentTarget :: Target }
type TouchEvent = { target :: Target, currentTarget :: Target, altKey :: Boolean, ctrlKey :: Boolean, metaKey :: Boolean, shiftKey :: Boolean }
type UIEvent = { target :: Target, currentTarget :: Target, detail :: Number }
type WheelEvent = { target :: Target, currentTarget :: Target, deltaMode :: Number, deltaX :: Number, deltaY :: Number, deltaZ :: Number }
type MediaEvent = { target :: Target, currentTarget :: Target }
onCopy :: forall action. (ClipboardEvent -> action) -> Attribute action
onCut :: forall action. (ClipboardEvent -> action) -> Attribute action
onPaste :: forall action. (ClipboardEvent -> action) -> Attribute action
onCompositionEnd :: forall action. (CompositionEvent -> action) -> Attribute action
onCompositionStart :: forall action. (CompositionEvent -> action) -> Attribute action
onCompositionUpdate :: forall action. (CompositionEvent -> action) -> Attribute action
onKeyDown :: forall action. (KeyboardEvent -> action) -> Attribute action
onKeyPress :: forall action. (KeyboardEvent -> action) -> Attribute action
onKeyUp :: forall action. (KeyboardEvent -> action) -> Attribute action
onKey :: forall action. String -> (KeyboardEvent -> action) -> Attribute action
Send action only if specified key is pressed (on key up)
onFocus :: forall action. (FocusEvent -> action) -> Attribute action
onBlur :: forall action. (FocusEvent -> action) -> Attribute action
onChange :: forall action. (FormEvent -> action) -> Attribute action
onInput :: forall action. (FormEvent -> action) -> Attribute action
onSubmit :: forall action. (FormEvent -> action) -> Attribute action
onClick :: forall action. (MouseEvent -> action) -> Attribute action
onContextMenu :: forall action. (MouseEvent -> action) -> Attribute action
onDoubleClick :: forall action. (MouseEvent -> action) -> Attribute action
onDrag :: forall action. (MouseEvent -> action) -> Attribute action
onDragEnd :: forall action. (MouseEvent -> action) -> Attribute action
onDragEnter :: forall action. (MouseEvent -> action) -> Attribute action
onDragExit :: forall action. (MouseEvent -> action) -> Attribute action
onDragLeave :: forall action. (MouseEvent -> action) -> Attribute action
onDragOver :: forall action. (MouseEvent -> action) -> Attribute action
onDragStart :: forall action. (MouseEvent -> action) -> Attribute action
onDrop :: forall action. (MouseEvent -> action) -> Attribute action
onMouseDown :: forall action. (MouseEvent -> action) -> Attribute action
onMouseEnter :: forall action. (MouseEvent -> action) -> Attribute action
onMouseLeave :: forall action. (MouseEvent -> action) -> Attribute action
onMouseMove :: forall action. (MouseEvent -> action) -> Attribute action
onMouseOut :: forall action. (MouseEvent -> action) -> Attribute action
onMouseOver :: forall action. (MouseEvent -> action) -> Attribute action
onMouseUp :: forall action. (MouseEvent -> action) -> Attribute action
onSelect :: forall action. (SelectionEvent -> action) -> Attribute action
onTouchCancel :: forall action. (TouchEvent -> action) -> Attribute action
onTouchEnd :: forall action. (TouchEvent -> action) -> Attribute action
onTouchMove :: forall action. (TouchEvent -> action) -> Attribute action
onTouchStart :: forall action. (TouchEvent -> action) -> Attribute action
onScroll :: forall action. (UIEvent -> action) -> Attribute action
onWheel :: forall action. (WheelEvent -> action) -> Attribute action
onAbort :: forall action. (MediaEvent -> action) -> Attribute action
onCanPlay :: forall action. (MediaEvent -> action) -> Attribute action
onCanPlayThrough :: forall action. (MediaEvent -> action) -> Attribute action
onDurationChange :: forall action. (MediaEvent -> action) -> Attribute action
onEmptied :: forall action. (MediaEvent -> action) -> Attribute action
onEncrypted :: forall action. (MediaEvent -> action) -> Attribute action
onEnded :: forall action. (MediaEvent -> action) -> Attribute action
onError :: forall action. (MediaEvent -> action) -> Attribute action
onLoad :: forall action. (MediaEvent -> action) -> Attribute action
onLoadedData :: forall action. (MediaEvent -> action) -> Attribute action
onLoadedMetadata :: forall action. (MediaEvent -> action) -> Attribute action
onLoadStart :: forall action. (MediaEvent -> action) -> Attribute action
onPause :: forall action. (MediaEvent -> action) -> Attribute action
onPlay :: forall action. (MediaEvent -> action) -> Attribute action
onPlaying :: forall action. (MediaEvent -> action) -> Attribute action
onProgress :: forall action. (MediaEvent -> action) -> Attribute action
onRateChange :: forall action. (MediaEvent -> action) -> Attribute action
onSeeked :: forall action. (MediaEvent -> action) -> Attribute action
onSeeking :: forall action. (MediaEvent -> action) -> Attribute action
onStalled :: forall action. (MediaEvent -> action) -> Attribute action
onSuspend :: forall action. (MediaEvent -> action) -> Attribute action
onTimeUpdate :: forall action. (MediaEvent -> action) -> Attribute action
onVolumeChange :: forall action. (MediaEvent -> action) -> Attribute action
onWaiting :: forall action. (MediaEvent -> action) -> Attribute action
handler :: forall ev a. Fn2 String (ev -> a) (Attribute a)
onKeyHandler :: forall ev a. Fn2 String (ev -> a) (Attribute a)