onmousedown property

dynamic Function(MouseEvent)? get onmousedown

Fires when the user clicks the object with either mouse button. @param ev The mouse event.

MDN Reference

Implementation

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

Implementation

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