暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shortcut.d.ts 338B

123456789101112131415
  1. interface ShortcutOptions {
  2. type?: string;
  3. propagate?: boolean;
  4. disable_in_input?: boolean;
  5. target?: HTMLElement;
  6. keycode?: boolean;
  7. }
  8. interface ShortcutStatic {
  9. add(key_combination: string, callback: Function, opt?: ShortcutOptions);
  10. remove(key_combination: string);
  11. }
  12. declare var shortcut: ShortcutStatic;