Skip to main content

KeyboardEvent-1

KeyboardEvent: {
(type, eventInitDict?): KeyboardEvent;
DOM_KEY_LOCATION_LEFT: 1;
DOM_KEY_LOCATION_NUMPAD: 3;
DOM_KEY_LOCATION_RIGHT: 2;
DOM_KEY_LOCATION_STANDARD: 0;
prototype: KeyboardEvent;
};

Type Declaration

Parameters

ParameterType
typestring
eventInitDict?KeyboardEventInit

Returns

KeyboardEvent

DOM_KEY_LOCATION_LEFT

readonly DOM_KEY_LOCATION_LEFT: 1;

DOM_KEY_LOCATION_NUMPAD

readonly DOM_KEY_LOCATION_NUMPAD: 3;

DOM_KEY_LOCATION_RIGHT

readonly DOM_KEY_LOCATION_RIGHT: 2;

DOM_KEY_LOCATION_STANDARD

readonly DOM_KEY_LOCATION_STANDARD: 0;

prototype

prototype: KeyboardEvent;