Vdom_keyboard.Keyboard_eventmodule Keyboard_code = Js_of_ocaml.Dom_html.Keyboard_codeval key : t -> Keyboard_code.tval ctrl : t -> boolval alt : t -> boolval shift : t -> boolval meta : t -> boolval match_modifiers :
?ctrl:bool ->
?alt:bool ->
?shift:bool ->
?meta:bool ->
t ->
boolmatch_modifiers evaluates a t's modifiers vs the function's arguments. If an argument is not specified then that modifier is not evaluated.
val no_modifiers : t -> boolval map :
t ->
f:
(([ `Ctrl of bool ]
* [ `Alt of bool ]
* [ `Shift of bool ]
* [ `Meta of bool ]
* Keyboard_code.t) ->
'a) ->
'a