Files
NapCatQQ/.pnpm-store/v3/files/8c/375e1026ba332dc36315186f0197fce22d851dc1b921c50a28faa3f5db9adfac67eb7ab5215ae68eaab243623cad5f91ffe325adc495511e96ee74b66ba2ed
T
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

20 lines
785 B
Plaintext

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;