KeyboardEvent

Module:
events
Inherits from:
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

getModifierState
initKeyboardEvent(in DOMString, in boolean, in boolean, in DOMWindow, in DOMString, in unsigned long, in boolean, in boolean, in boolean, in boolean)
initKeyboardEvent(in DOMString, in boolean, in boolean, in DOMWindow, in DOMString, in unsigned long, in boolean, in boolean, in boolean, in boolean, in boolean)

getModifierState


boolean getModifierState(
    in DOMString keyIdentifierArg); 


initKeyboardEvent(in DOMString, in boolean, in boolean, in DOMWindow, in DOMString, in unsigned long, in boolean, in boolean, in boolean, in boolean)


void initKeyboardEvent(
    in DOMString type, 
    in boolean canBubble, 
    in boolean cancelable, 
    in DOMWindow view, 
    in DOMString keyIdentifier, 
    in unsigned long keyLocation, 
    in boolean ctrlKey, 
    in boolean altKey, 
    in boolean shiftKey, 
    in boolean metaKey); 


initKeyboardEvent(in DOMString, in boolean, in boolean, in DOMWindow, in DOMString, in unsigned long, in boolean, in boolean, in boolean, in boolean, in boolean)


void initKeyboardEvent(
    in DOMString type, 
    in boolean canBubble, 
    in boolean cancelable, 
    in DOMWindow view, 
    in DOMString keyIdentifier, 
    in unsigned long keyLocation, 
    in boolean ctrlKey, 
    in boolean altKey, 
    in boolean shiftKey, 
    in boolean metaKey, 
    in boolean altGraphKey); 

Member Data

altGraphKey
altKey
charCode
ctrlKey
KEY_LOCATION_LEFT
KEY_LOCATION_NUMPAD
KEY_LOCATION_RIGHT
KEY_LOCATION_STANDARD
keyCode
keyIdentifier
keyLocation
metaKey
shiftKey

altGraphKey


readonly attribute boolean altGraphKey; 


altKey


readonly attribute boolean altKey; 


charCode


readonly attribute long charCode; 


ctrlKey


readonly attribute boolean ctrlKey; 


KEY_LOCATION_LEFT


const unsigned long KEY_LOCATION_LEFT = 0x01; 


KEY_LOCATION_NUMPAD


const unsigned long KEY_LOCATION_NUMPAD = 0x03; 


KEY_LOCATION_RIGHT


const unsigned long KEY_LOCATION_RIGHT = 0x02; 


KEY_LOCATION_STANDARD


const unsigned long KEY_LOCATION_STANDARD = 0x00; 


keyCode


readonly attribute long keyCode; 


keyIdentifier


readonly attribute DOMString keyIdentifier; 


keyLocation


readonly attribute unsigned long keyLocation; 


metaKey


readonly attribute boolean metaKey; 


shiftKey


readonly attribute boolean shiftKey; 

 

Last Updated: 2009-05-29