getModifierState method
The MouseEvent.getModifierState() method returns the current state
of the specified modifier key: true if the modifier is active (i.e., the
modifier key is pressed or locked), otherwise, false.
See KeyboardEvent.getModifierState for details.
Implementation
external bool getModifierState(String keyArg);