ondrag property

dynamic Function(DragEvent)? get ondrag

Fires on the source object continuously during a drag operation. @param ev The event.

MDN Reference

Implementation

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

Implementation

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