🔸.button
browser ⟩ event ⟩ type ⟩ mouse ⟩ .button
a number associated with each mouse button.
0
: Main button (usually the left button)1
: Auxiliary button (usually the wheel button or the middle button)2
: Secondary button (usually the right button)3
: 4th button (typically the Browser Back button)4
: 5th button (typically the Browser Forward button)
compare with .buttons (mouse key combinations)
Last updated