package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
virtual_dom-v0.16.0.tar.gz
sha256=0c6f07894dce56db88d46b3aa4f2cad1a84aeaf0009560a285492f9f2959d565
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)"
>