package virtual_dom

  1. Overview
  2. Docs
OCaml bindings for the virtual-dom library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=812711b4d5ce634a413580cd7096482de8d71abec9ae37bb01f7c0dcec2968ec

doc/virtual_dom.keyboard/Vdom_keyboard/Keyboard_event/index.html

Module Vdom_keyboard.Keyboard_eventSource

Sourceval ctrl : t -> bool
Sourceval alt : t -> bool
Sourceval shift : t -> bool
Sourceval meta : t -> bool
Sourceval match_modifiers : ?ctrl:bool -> ?alt:bool -> ?shift:bool -> ?meta:bool -> t -> bool

match_modifiers evaluates a t's modifiers vs the function's arguments. If an argument is not specified then that modifier is not evaluated.

Sourceval no_modifiers : t -> bool
Sourceval map : t -> f: (([ `Ctrl of bool ] * [ `Alt of bool ] * [ `Shift of bool ] * [ `Meta of bool ] * Keyboard_code.t) -> 'a) -> 'a
OCaml

Innovation. Community. Security.