javascript event modifiers

modifiers NN |4| IE n/a DOM n/a

 

Read-only

Provides an integer that represents the keyboard modifier key(s) being held down at the time the Navigator 4-only event fired. You can use the & operator with a series of static Event object constants to find out whether a particular modifier key was pressed. 

 
Example
 
var altKeyPressed = evt.modifiers & Event.ALT_MASK;
 
Value

Integer.

 
Default

0


766,Nickname,Homepage or email,Comments here,Add comment