Js_of_ocaml.File
SourceFile API
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
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.