package js_of_ocaml-compiler
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-4.0.0.tbz
sha256=df02f819e5b2f48234af2b3e3e7c9781afa8212f8bece7ebcfbd8358b394495e
sha512=92e822849c8be14ce0428f7f4be3991449f76e65d408073a5b8b9674ba2d099439027aa11618b603c7ee31a179cf6976d54a929917a69b269425f0367926c200
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_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)"
>