Module Js_of_ocaml.FileSource
File API
Source
type 'a make_blob =
?contentType:string ->
?endings:[ `Transparent | `Native ] ->
'a ->
blob Js_of_ocaml.Js.tSource
val blob_from_any :
[ `blob of blob Js_of_ocaml.Js.t
| `arrayBuffer of Js_of_ocaml.Typed_array.arrayBuffer Js_of_ocaml.Js.t
| `arrayBufferView of
Js_of_ocaml.Typed_array.arrayBufferView Js_of_ocaml.Js.t
| `string of string
| `js_string of Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ]
list
Js_of_ocaml.File.make_blobfilename handles old firefox without name property
Source
val addEventListener :
(progressEventTarget Js_of_ocaml.Js.t as 'a) ->
'b Js_of_ocaml.Dom.Event.typ ->
('a, 'b) Js_of_ocaml.Dom.event_listener ->
bool Js_of_ocaml.Js.t ->
Js_of_ocaml.Dom.event_listener_idAdd an event listener. This function matches the addEventListener DOM method, except that it returns an id for removing the listener.