supportsLoadEndEvent property Null safety

bool supportsLoadEndEvent

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

Implementation

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