elementFromPoint property

Element? Function(num, num) get elementFromPoint

Implementation

_i3.Element? Function(
  _i2.num,
  _i2.num,
) get elementFromPoint => (
      _i2.num p0,
      _i2.num p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'elementFromPoint',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set elementFromPoint (Element? value(num, num))

Implementation

set elementFromPoint(
    _i3.Element? Function(
      _i2.num,
      _i2.num,
    ) value) {
  _i4.setProperty(
    this,
    'elementFromPoint',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}