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/src/virtual_dom.keyboard/vdom_keyboard.ml.html
Source file vdom_keyboard.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
module Grouped_help_text = Grouped_help_text module Help_text = Help_text module Keyboard_event_handler = Keyboard_event_handler module Keystroke = Keystroke module Variable_keyboard_event_handler = Variable_keyboard_event_handler module Keyboard_event = Keyboard_event let with_keyboard_handler node keyboard_handler = let open Virtual_dom.Vdom in Node.div ~attrs: [ Attr.on_keydown (fun event -> Keyboard_event_handler.handle_or_ignore_event keyboard_handler event) ] [ node ] ;;
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>