ondragstart property

dynamic Function(DragEvent)? get ondragstart

Fires on the source object when the user starts to drag a text selection or selected object. @param ev The event.

MDN Reference

Implementation

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

Implementation

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