left property

bool left

Gets or sets whether the logical left mouse button is being held down. This is true if the button was pressed at the time of the event.

If this InputEvent has a #event of type MouseEvent with e.type of "mouseup" or "mousedown", this property uses the value of #button. Otherwise, it uses the value of #buttons.

When setting, this sets the value of #buttons.

Implementation

_i2.bool get left => _i4.getProperty(
      this,
      'left',
    );
void left=(bool value)

Implementation

set left(_i2.bool value) {
  _i4.setProperty(
    this,
    'left',
    value,
  );
}