supportsProgressEvent property Null safety

bool supportsProgressEvent

Checks to see if the Progress event is supported on the current platform.

Implementation

static bool get supportsProgressEvent {
  var xhr = new HttpRequest();
  return JS('bool', '("onprogress" in #)', xhr);
}