package js_of_ocaml
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-5.4.0.tbz
sha256=f1215de133867fefdb16e2798a225ee0446469a57462af0deebdd22d2a8d3b94
sha512=610cd22818bc6f0a0163f0eec74f58338e18709a6101639f65e58241a9216ed286c3cb091b41e36a82c926de5f030d718a6e76a493e885e61456047a8da153c9
doc/js_of_ocaml/Js_of_ocaml/File/index.html
Module Js_of_ocaml.File
Source
File API
Source
val 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_blob
filename
handles old firefox without name property
Source
val addEventListener :
progressEventTarget Js.t as 'a ->
'b Dom.Event.typ ->
('a, 'b) Dom.event_listener ->
bool Js.t ->
Dom.event_listener_id
Add 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)"
>