package fmlib_js
Library for easy compilation from ocaml to javascript
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.0.tar.gz
sha256=b54320cbe9bddac9ff88654e1d8ffea1d2eecb48aa668f3483f26f80c7954531
md5=28a93cbd62d5debe496759e8e954848b
doc/fmlib_js/Fmlib_js/Event_target/index.html
Module Fmlib_js.Event_target
Event_targets in the browser
add type handler target
Add for the event type type
the listener handler
to the event target tgt
(javascript method addEventListener
).
remove type handler target
Remove for the event type type
the listener handler
off the event target tgt
(javascript method removeEventListener
).
Note: The same handler might be added for several event types. The function remove
only removes the handler for the specific event type.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>