ondragenter property

dynamic Function(DragEvent)? get ondragenter

Fires on the target element when the user drags the object to a valid drop target. @param ev The drag event.

MDN Reference

Implementation

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

Implementation

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