import UIEvent from '../UIEvent.js'; import IKeyboardEventInit from './IKeyboardEventInit.js'; /** * */ export default class KeyboardEvent extends UIEvent { static DOM_KEY_LOCATION_STANDARD: number; static DOM_KEY_LOCATION_LEFT: number; static DOM_KEY_LOCATION_RIGHT: number; static DOM_KEY_LOCATION_NUMPAD: number; readonly altKey: boolean; readonly code: string; readonly ctrlKey: boolean; readonly isComposing: boolean; readonly key: string; readonly location: number; readonly metaKey: boolean; readonly repeat: boolean; readonly shiftKey: boolean; /** * @deprecated */ readonly keyCode: number; /** * Constructor. * * @param type Event type. * @param [eventInit] Event init. */ constructor(type: string, eventInit?: IKeyboardEventInit | null); } //# sourceMappingURL=KeyboardEvent.d.ts.map