onclick top-level property

dynamic Function(MouseEvent)? get onclick

Fires when the user clicks the left mouse button on the object

Implementation

_i2.dynamic Function(_i3.MouseEvent)? get onclick =>
    (_i3.MouseEvent p0) => _i4.callMethod(
          _i4.getProperty(
            _self,
            'onclick',
          ),
          r'call',
          [
            _self,
            p0,
          ],
        );