For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Variable KeyboardEvent
KeyboardEvent: {
DOM_KEY_LOCATION_LEFT: 1;
DOM_KEY_LOCATION_NUMPAD: 3;
DOM_KEY_LOCATION_RIGHT: 2;
DOM_KEY_LOCATION_STANDARD: 0;
prototype: KeyboardEvent;
new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;
}
DOM_KEY_LOCATION_LEFT: 1;
DOM_KEY_LOCATION_NUMPAD: 3;
DOM_KEY_LOCATION_RIGHT: 2;
DOM_KEY_LOCATION_STANDARD: 0;
prototype: KeyboardEvent;
new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;
}
Type Declaration
-
- new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent
-
Parameters
- type: string
OptionaleventInitDict: KeyboardEventInit
Returns KeyboardEvent
-
ReadonlyDOM_KEY_LOCATION_LEFT: 1 -
ReadonlyDOM_KEY_LOCATION_NUMPAD: 3 -
ReadonlyDOM_KEY_LOCATION_RIGHT: 2 -
ReadonlyDOM_KEY_LOCATION_STANDARD: 0 -
prototype: KeyboardEvent