MouseEvent metaKey Property in JavaScript
MouseEvent metaKey Property in JavaScript
The metaKey property is a read-only property and it is used to return a Boolean value that indicates whether the META key was pressed when a mouse event was triggered or not. On windows, this key is not Window key. On Mac, this key is Command key.
Syntax:-
Its syntax is:- event.metaKey
Return:-
Its return is:- true if the META key is pressed else false