Js_of_ocaml.FileFile 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.