The 'buttons' property on MouseEvent indicates (for ALL mouse events) which combination of buttons are current down.

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 43
  • Chrome for Android release 43

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Comments

WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=81855

Last updated on 2020-11-09