glazier-react-1.0.0.0: ReactJS binding using Glazier.Command.

Safe HaskellNone
LanguageHaskell2010

Glazier.React.Event.Keyboard

Synopsis

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)

Instances
Generic KeyboardEvent Source # 
Instance details

Defined in Glazier.React.Event.Keyboard

Associated Types

type Rep KeyboardEvent :: * -> * #

NFData KeyboardEvent Source # 
Instance details

Defined in Glazier.React.Event.Keyboard

Methods

rnf :: KeyboardEvent -> () #

type Rep KeyboardEvent Source # 
Instance details

Defined in Glazier.React.Event.Keyboard

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.