oncontextmenu top-level property

dynamic Function(MouseEvent)? get oncontextmenu

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Implementation

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