package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 = Stdlib.Uchar.t option
val of_event : keyboardEvent Js.t -> t
OCaml

Innovation. Community. Security.