package js_of_ocaml
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-3.10.0.tbz
sha256=7bfe95c283e30a53df9364555517aa4ea614876be566a86b33e6d0fefc4a6126
sha512=1815f0bfcea65a28082293756350a9365304584d3a19af0983e1498c6f8d7d25a751aec18560aa7b633b64b8adfb4417e9647cdf703bedcb7aaf316abf9a3243
doc/js_of_ocaml/Js_of_ocaml/WebSockets/index.html
Module Js_of_ocaml.WebSockets
WebSocket binding
class type 'a closeEvent = object ... end
class type 'a messageEvent = object ... end
class type webSocket = object ... end
val webSocket : (Js.js_string Js.t -> webSocket Js.t) Js.constr
val webSocket_withProtocol :
(Js.js_string Js.t -> Js.js_string Js.t -> webSocket Js.t) Js.constr
val webSocket_withProtocols :
(Js.js_string Js.t ->
Js.js_string Js.t Js.js_array Js.t ->
webSocket Js.t)
Js.constr
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>