package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
class type blob = object ... end
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
val filename : file Js.t -> Js.js_string Js.t
val fileReader : fileReader Js.t Js.constr
val readAsBinaryString : blob Js.t -> Js.js_string Js.t Lwt.t
val readAsText : blob Js.t -> Js.js_string Js.t Lwt.t
val readAsText_withEncoding : blob Js.t -> Js.js_string Js.t -> Js.js_string Js.t Lwt.t
val readAsDataURL : blob Js.t -> Js.js_string Js.t Lwt.t
val addEventListener : progressEventTarget as 'a Js.t -> 'b Dom.Event.typ -> ('a Js.t, 'b) Dom.event_listener -> bool Js.t -> Dom.event_listener_id
OCaml

Innovation. Community. Security.