package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
virtual_dom-v0.15.0.tar.gz
sha256=c32029907c0667369a500091533e2121c050e2392cfae7f07f2289e87c797390
doc/virtual_dom.keyboard/Vdom_keyboard/Keyboard_event_handler/Action/index.html
Module Keyboard_event_handler.Action
type t =
| 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.| Disabled_key of Keystroke.t
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val disabled_key : Keystroke.t -> t
val is_command : t -> bool
val is_disabled_key : t -> bool
val disabled_key_val : t -> Keystroke.t option
module Variants : sig ... end
val get_help_text : t -> Help_text.Command.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>