package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.15.1.tar.gz
sha256=7f1fa83287458114c5b0cab8aae00d69972d15e1d20a446ce13f246aacef3216
doc/virtual_dom.keyboard/Vdom_keyboard/Keyboard_event/index.html
Module Vdom_keyboard.Keyboard_event
Source
match_modifiers
evaluates a t
's modifiers vs the function's arguments. If an argument is not specified then that modifier is not evaluated.
Source
val 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)"
>