supportsProgressEvent property

bool get 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);
}