# Class type File.fileReader

    class type fileReader = object .. end

Inherits

- `File.progressEventTarget`

    method readAsArrayBuffer : 'a. (#blob as 'a) Js.t -> unit Js.meth

    method readAsBinaryString : 'b. (#blob as 'b) Js.t -> unit Js.meth

    method readAsText : 'c. (#blob as 'c) Js.t -> unit Js.meth

    method readAsText_withEncoding : 'd. (#blob as 'd) Js.t -> Js.js_string Js.t -> unit Js.meth

    method readAsDataURL : 'e. (#blob as 'e) Js.t -> unit Js.meth

    method abort : unit Js.meth

    method readyState : readyState Js.readonly_prop

    method result : file_any Js.readonly_prop

    method error : fileError Js.t Js.readonly_prop

    method onloadstart : ((< abort : unit Js.meth; error : fileError Js.t Js.readonly_prop;
               onabort : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener
                         Js.writeonly_prop;
               onerror : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener
                         Js.writeonly_prop;
               onload : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener
                        Js.writeonly_prop;
               onloadend : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener
                           Js.writeonly_prop;
               onloadstart : 'f;
               onprogress : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener
                            Js.writeonly_prop;
               readAsArrayBuffer : 'h. (#blob as 'h) Js.t -> unit Js.meth;
               readAsBinaryString : 'i. (#blob as 'i) Js.t -> unit Js.meth;
               readAsDataURL : 'j. (#blob as 'j) Js.t -> unit Js.meth;
               readAsText : 'k. (#blob as 'k) Js.t -> unit Js.meth;
               readAsText_withEncoding : 'l.
                                           (#blob as 'l) Js.t ->
                                           Js.js_string Js.t -> unit Js.meth;
               readyState : readyState Js.readonly_prop;
               result : file_any Js.readonly_prop; .. >
             as 'g)
            Js.t, 'g progressEvent Js.t)
           Dom.event_listener Js.writeonly_prop as 'f

    method onprogress : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener Js.writeonly_prop

    method onload : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener Js.writeonly_prop

    method onabort : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener Js.writeonly_prop

    method onerror : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener Js.writeonly_prop

    method onloadend : ('g Js.t, 'g progressEvent Js.t) Dom.event_listener Js.writeonly_prop