javascript event metaKey

metaKeyNN 6 IE n/a DOM n/a

Read-only

Returns true if the keyboard's Meta key (Command key on the Macintosh keyboard) was pressed at the instant the event fired.

 
Example
 
if (evt.metaKey) {
    // process for meta key being down
}
 
Value

Boolean value: true | false.

 
Default

false


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