package js_of_ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Compiler from OCaml bytecode to JavaScript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-6.5.0.tbz
sha256=a991ce25175a5a13240c8bf64354b8f35e0a8d7223b90bef01ba32bc6f929cf4
sha512=ce476986cb2c78990f29b1d7a01bb173a0d30ad0e0a80ba7bde9aa8365952ed01eda4935d92a323b982b0c1c897b20ef01eabe75fe80e4da858f73f6a2d25232
doc/js_of_ocaml/Js_of_ocaml/MessageChannel/index.html
Module Js_of_ocaml.MessageChannelSource
Channel messaging: MessageChannel, MessagePort and MessageEvent.
One of the two endpoints of a messageChannel. Messages posted on one port are delivered to the message listener of the other.
MessageEvent constructor
Initializer for a Dom_html.messageEvent. All fields are optional; create an empty record with empty_message_event_init and populate the ones you need. The data payload is injected as Js.Unsafe.any; the resulting event is read back at whatever type the caller annotates messageEvent_with_init with.
Source
val messageEvent_with_init :
(Js.js_string Js.t ->
messageEventInit Js.t ->
('b, 'a) Dom_html.messageEvent Js.t)
Js.constrWhether the MessageChannel global is available in the current environment.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page