Last updated 1 year ago
browser ⟩ event ⟩ type ⟩ mouse ⟩ .buttons
a number representing mouse button combinations.
each button is represented by a given number (see below).
if more than one button is pressed, the button values are added.
drag the bar - listen to "mousemove" on bar.mousedown.
compare with .button (number associated with each button)
Event ⟩ UIEvent ⟩ MouseEvent ⟩
.buttons - which buttons are pressed.
.button - compare with .buttons. (#todo)