decodeMouseEventButtons
decodeMouseEventButtons(value, [result]) ⇒ Array.<boolean>
Kind: global function
Returns: Array.<boolean>
- array of booleans, boolean is true if mouse button is pressed, false otherwise
See
- https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons
- https://w3c.github.io/uievents/#widl-MouseEvent-buttons
Param | Type |
---|---|
value | Number |
[result] | Array.<boolean> |