package virtual_dom
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for the virtual-dom library
Install
dune-project
Dependency
Authors
Maintainers
Sources
virtual_dom-v0.15.0.tar.gz
sha256=c32029907c0667369a500091533e2121c050e2392cfae7f07f2289e87c797390
doc/virtual_dom.keyboard/Vdom_keyboard/Keyboard_event/index.html
Module Vdom_keyboard.Keyboard_event
module Keyboard_code = Js_of_ocaml.Dom_html.Keyboard_codeval key : t -> Keyboard_code.tval ctrl : t -> boolval alt : t -> boolval shift : t -> boolval meta : t -> boolval match_modifiers :
?ctrl:bool ->
?alt:bool ->
?shift:bool ->
?meta:bool ->
t ->
boolmatch_modifiers evaluates a t's modifiers vs the function's arguments. If an argument is not specified then that modifier is not evaluated.
val no_modifiers : t -> boolval map :
t ->
f:
(([ `Ctrl of bool ]
* [ `Alt of bool ]
* [ `Shift of bool ]
* [ `Meta of bool ]
* Keyboard_code.t) ->
'a) ->
'a sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>