package js_of_ocaml-compiler
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-5.0.1.tbz
sha256=7a210f1ca16a742381947dc67c3d8d9f4c94fbf20738744b1353897985b61069
sha512=07a973561190686d56bd5d56d9a275e177716ea8b9720f6acc7ddf8618680844a6d0c798447567ea9542d83bab524c165d076f3cce0769a12fc483ef8cd6a733
doc/js_of_ocaml-compiler.runtime/Jsoo_runtime/Js/index.html
Module Jsoo_runtime.Js
type 'a js_array = t
type ('a, 'b) meth_callback = t
val string : string -> t
val to_string : t -> string
val bytestring : string -> t
val to_bytestring : t -> string
val bool : bool -> t
val to_bool : t -> bool
val array : 'a array -> t
val to_array : t -> 'a array
val number_of_float : float -> t
val float_of_number : t -> float
val callback : ('b -> 'a) -> ('b, 'a) meth_callback
val callback_with_arguments :
(t js_array -> 'b) ->
('c, t js_array -> 'b) meth_callback
val callback_with_arity : int -> ('a -> 'b) -> ('c, 'a -> 'b) meth_callback
val meth_callback : ('b -> 'a) -> ('b, 'a) meth_callback
val meth_callback_with_arity : int -> ('b -> 'a) -> ('b, 'a) meth_callback
val meth_callback_with_arguments :
('b -> t js_array -> 'a) ->
('b, t js_array -> 'a) meth_callback
val wrap_callback : ('a -> 'b) -> ('c, 'a -> 'b) meth_callback
val wrap_meth_callback : ('a -> 'b) -> ('a, 'b) meth_callback
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>