package virtual_dom

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

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.16.0.tar.gz
sha256=0c6f07894dce56db88d46b3aa4f2cad1a84aeaf0009560a285492f9f2959d565

doc/virtual_dom.keyboard/Vdom_keyboard/Keyboard_event_handler/Action/index.html

Module Keyboard_event_handler.ActionSource

Sourcetype t =
  1. | Command of Command.t
    (*

    A disabled key is essentially a command that prevents the default handler of that key (by returning Effect.Prevent_default), and does nothing else. Users can choose to omit disabled keys from the help menu.

    *)
  2. | Disabled_key of Keystroke.t
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval command : Command.t -> t
Sourceval disabled_key : Keystroke.t -> t
Sourceval is_command : t -> bool
Sourceval is_disabled_key : t -> bool
Sourceval command_val : t -> Command.t option
Sourceval disabled_key_val : t -> Keystroke.t option
Sourcemodule Variants : sig ... end
Sourceval get_help_text : t -> Help_text.Command.t
OCaml

Innovation. Community. Security.