onprogress property

dynamic Function(ProgressEvent<EventTarget>)? get onprogress

Occurs to indicate progress while downloading media data. @param ev The event.

MDN Reference

Implementation

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

Implementation

set onprogress(
    _i2.dynamic Function(_i3.ProgressEvent<_i3.EventTarget>)? value) {
  _i4.setProperty(
    this,
    'onprogress',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}