package virtual_dom

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

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.