Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Dom_html.Keyboard_key

module Keyboard_key : sig..end

Use Keyboard_key when you want to identify the character that the user typed. This should only be invoked on keypress events, not keydown or keyup events.

type t = Uchar.t option
val of_event : Dom_html.keyboardEvent Js.t -> t