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: stringOptionaleventInitDict: KeyboardEventInit
Returns KeyboardEvent
prototype: KeyboardEvent
ReadonlyDOM_KEY_LOCATION_STANDARD: 0ReadonlyDOM_KEY_LOCATION_LEFT: 1ReadonlyDOM_KEY_LOCATION_RIGHT: 2ReadonlyDOM_KEY_LOCATION_NUMPAD: 3