package virtual_dom
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/Keystroke/index.html
Module Vdom_keyboard.Keystroke
Source
include Ppx_compare_lib.Comparable.S with type t := t
include Core.Bin_prot.Binable.S with type t := t
include Ppx_hash_lib.Hashable.S with type t := t
include Core.Comparable.S_binable with type t := t
val clamp : t -> min:t -> max:t -> t Base.Or_error.t
module Replace_polymorphic_compare : sig ... end
val comparator : (t, comparator_witness) Core__Comparator.comparator
module Map : sig ... end
module Set : sig ... end
include Core.Hashable.S_binable with type t := t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val hashable : t Core__.Hashtbl.Hashable.t
module Table : sig ... end
module Hash_set : sig ... end
module Hash_queue : sig ... end
The first string is either "Shift+" or "", depending on whether "Shift" needs to be displayed to indicate the keystrokes. The second is the keyboard code itself. For instance:
- For '(', returns
"" , "("
instead of"Shift+", "9"
- For 'A', returns
"Shift+" , "a"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>