版博士V2.0程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

28 wiersze
778 B

  1. import UIEvent from '../UIEvent';
  2. import IKeyboardEventInit from './IKeyboardEventInit';
  3. /**
  4. *
  5. */
  6. export default class KeyboardEvent extends UIEvent {
  7. static DOM_KEY_LOCATION_STANDARD: number;
  8. static DOM_KEY_LOCATION_LEFT: number;
  9. static DOM_KEY_LOCATION_RIGHT: number;
  10. static DOM_KEY_LOCATION_NUMPAD: number;
  11. readonly altKey: boolean;
  12. readonly code: string;
  13. readonly ctrlKey: boolean;
  14. readonly isComposing: boolean;
  15. readonly key: string;
  16. readonly location: number;
  17. readonly metaKey: boolean;
  18. readonly repeat: boolean;
  19. readonly shiftKey: boolean;
  20. /**
  21. * Constructor.
  22. *
  23. * @param type Event type.
  24. * @param [eventInit] Event init.
  25. */
  26. constructor(type: string, eventInit?: IKeyboardEventInit);
  27. }