package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated Will be removed past 2019-01-01. Use Js_of_ocaml.File instead.
class type blob = object ... end
type 'a make_blob = ?contentType:string -> ?endings:[ `Transparent | `Native ] -> 'a -> blob Js_of_ocaml.Js.t
val blob_from_string : string make_blob
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 make_blob
class type file = object ... end
type file_any
module CoerceTo : sig ... end
class type fileList = object ... end
class type fileError = object ... end
class type 'a progressEvent = object ... end
class type progressEventTarget = object ... end
type readyState =
  1. | EMPTY
  2. | LOADING
  3. | DONE
class type fileReader = object ... end
module ReaderEvent : sig ... end

filename handles old firefox without name property

Add an event listener. This function matches the addEventListener DOM method, except that it returns an id for removing the listener.

OCaml

Innovation. Community. Security.