Safe Haskell | None |
---|---|
Language | Haskell2010 |
Glazier.React.Event.Keyboard
Documentation
data KeyboardEvent Source #
Keyboard events KeyboardEvent
must only be used in the first part of handleEvent
. https://facebook.github.io/react/docs/events.html#keyboard-events https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent Event names (eventType) onKeyDown (keydown) onKeyPress (keypress) onKeyUp (keyyp)
Constructors
KeyboardEvent | |
Instances
toKeyboardEvent :: Notice -> Maybe KeyboardEvent Source #
We can lie about this not being in IO because within the strict part of handleEventM
the Notice is effectively immutable.