375e1026ba332dc36315186f0197fce22d851dc1b921c50a28faa3f5db9adfac67eb7ab5215ae68eaab243623cad5f91ffe325adc495511e96ee74b66ba2ed 785 B

12345678910111213141516171819
  1. import Module from '../core/module.js';
  2. import Quill from '../core/quill.js';
  3. export declare const TTL_FOR_VALID_SELECTION_CHANGE = 100;
  4. declare class UINode extends Module {
  5. isListening: boolean;
  6. selectionChangeDeadline: number;
  7. constructor(quill: Quill, options: Record<string, never>);
  8. private handleArrowKeys;
  9. private handleNavigationShortcuts;
  10. /**
  11. * We only listen to the `selectionchange` event when
  12. * there is an intention of moving the caret to the beginning using shortcuts.
  13. * This is primarily implemented to prevent infinite loops, as we are changing
  14. * the selection within the handler of a `selectionchange` event.
  15. */
  16. private ensureListeningToSelectionChange;
  17. private handleSelectionChange;
  18. }
  19. export default UINode;