onerror property

OnErrorEventHandler? get onerror

Fires when an error occurs during object loading. @param ev The event.

MDN Reference

Implementation

_i3.OnErrorEventHandler get onerror => _i4.getProperty(
      this,
      'onerror',
    );
set onerror (OnErrorEventHandler? value)

Implementation

set onerror(_i3.OnErrorEventHandler value) {
  _i4.setProperty(
    this,
    'onerror',
    value ?? _i6.undefined,
  );
}