KeyboardEvent
KeyboardEvent: {
prototype: KeyboardEvent;
DOM_KEY_LOCATION_STANDARD: 0;
DOM_KEY_LOCATION_LEFT: 1;
DOM_KEY_LOCATION_RIGHT: 2;
DOM_KEY_LOCATION_NUMPAD: 3;
new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;
}
prototype: KeyboardEvent;
DOM_KEY_LOCATION_STANDARD: 0;
DOM_KEY_LOCATION_LEFT: 1;
DOM_KEY_LOCATION_RIGHT: 2;
DOM_KEY_LOCATION_NUMPAD: 3;
new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;
}
Type declaration
- new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent
Parameters
type: string
Optional
eventInitDict: KeyboardEventInit
Returns KeyboardEvent
prototype: KeyboardEvent
Readonly
DOM_KEY_LOCATION_STANDARD: 0Readonly
DOM_KEY_LOCATION_LEFT: 1Readonly
DOM_KEY_LOCATION_RIGHT: 2Readonly
DOM_KEY_LOCATION_NUMPAD: 3