first commit
This commit is contained in:
19
public/assets/quill/modules/uiNode.d.ts
vendored
Normal file
19
public/assets/quill/modules/uiNode.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import Module from '../core/module.js';
|
||||
import Quill from '../core/quill.js';
|
||||
export declare const TTL_FOR_VALID_SELECTION_CHANGE = 100;
|
||||
declare class UINode extends Module {
|
||||
isListening: boolean;
|
||||
selectionChangeDeadline: number;
|
||||
constructor(quill: Quill, options: Record<string, never>);
|
||||
private handleArrowKeys;
|
||||
private handleNavigationShortcuts;
|
||||
/**
|
||||
* We only listen to the `selectionchange` event when
|
||||
* there is an intention of moving the caret to the beginning using shortcuts.
|
||||
* This is primarily implemented to prevent infinite loops, as we are changing
|
||||
* the selection within the handler of a `selectionchange` event.
|
||||
*/
|
||||
private ensureListeningToSelectionChange;
|
||||
private handleSelectionChange;
|
||||
}
|
||||
export default UINode;
|
||||
Reference in New Issue
Block a user