Skip to content

Support onLoad event for FileReader #330

Closed
@maple135790

Description

@maple135790

In MDN, FileReader has a event called onLoad, but unfortunately in current main b55f343, there is no such event to listen to.

Current workaround would need to write a custom Extension Method, mimic the the onLoadEnd event which is currently inside main

extension on FileReader {
  Stream<ProgressEvent> get onLoad =>
      EventStreamProviders.loadEvent.forTarget(this);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions