handleDrop property

FutureOr<void> Function(DataTransfer, CancellationToken, [T?]) get handleDrop

Implementation

_i4.FutureOr<void> Function(
  _i3.DataTransfer,
  _i3.CancellationToken, [
  T?,
]) get handleDrop => (
      _i3.DataTransfer p1,
      _i3.CancellationToken p2, [
      T? p0,
    ]) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'handleDrop',
          ),
          r'call',
          [
            this,
            p0 ?? _i6.undefined,
            p1,
            p2,
          ],
        );
set handleDrop (FutureOr<void> value(DataTransfer, CancellationToken, [T?]))

Implementation

set handleDrop(
    _i4.FutureOr<void> Function(
      _i3.DataTransfer,
      _i3.CancellationToken, [
      T?,
    ]) value) {
  _i5.setProperty(
    this,
    'handleDrop',
    _i5.allowInterop((
      p0,
      p1,
      p2,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
              p2,
            ))),
  );
}