Skip to content

FileReader.load doesn't work! #2533

@butaixianran

Description

@butaixianran

When reading a file from client side with Angular2 and Typescript,

I try to use FileReader in this way:

var fileReader = new FileReader();
fileReader.onload = function(e) {
   console.log("run fileReader.onload");
   //  ......
}

But it doesn't work at all, this "fileReader.onload" function will never be called.

Really need a solution for reading files, please help.
If, it's a bug, then, is there any work around for now?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions