onload property

dynamic Function(Event)? get onload

Fires immediately after the browser loads the object. @param ev The event.

MDN Reference

Implementation

_i2.dynamic Function(_i3.Event)? get onload =>
    (_i3.Event p0) => _i4.callMethod(
          _i4.getProperty(
            this,
            'onload',
          ),
          r'call',
          [
            this,
            p0,
          ],
        );
set onload (dynamic value(Event)?)

Implementation

set onload(_i2.dynamic Function(_i3.Event)? value) {
  _i4.setProperty(
    this,
    'onload',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}