package js_of_ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler from OCaml bytecode to Javascript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-3.8.0.tbz
sha256=9ed1424afd3eeafa5c5a031d817326edd751da58bda9a16fb4fcb1ee55f43219
sha512=e4855e242e4b0c6b396154e3d093fb5de28e4073efb1df00ee91ad52fad8530425498f4ff46631f128a9c792225f53c2046eeaea81517281cee1e3442a347578
doc/js_of_ocaml/Js_of_ocaml/File/index.html
Module Js_of_ocaml.File
File API
class type blob = object ... endval blob_from_string : string make_blobval blob_from_any :
[ `blob of blob Js.t
| `arrayBuffer of Typed_array.arrayBuffer Js.t
| `arrayBufferView of Typed_array.arrayBufferView Js.t
| `string of string
| `js_string of Js.js_string Js.t ]
list
make_blobclass type file = object ... endmodule CoerceTo : sig ... endclass type fileList = object ... endclass type fileError = object ... endclass type 'a progressEvent = object ... endclass type progressEventTarget = object ... endclass type fileReader = object ... endmodule ReaderEvent : sig ... endval filename : file Js.t -> Js.js_string Js.tfilename handles old firefox without name property
val fileReader : fileReader Js.t Js.constrval addEventListener :
(progressEventTarget Js.t as 'a) ->
'b Dom.Event.typ ->
('a, 'b) Dom.event_listener ->
bool Js.t ->
Dom.event_listener_idAdd an event listener. This function matches the addEventListener DOM method, except that it returns an id for removing the listener.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>