UNPKG

399 BTypeScriptView Raw
1type FocusMode = 'cell' | 'mixed';
2
3export interface FocusManager {
4 getFocusMode(): FocusMode;
5 setFocusMode(focusMode: FocusMode): void;
6 getRefocusDelay(): number;
7 setRefocusDelay(delay: number): void;
8 setRefocusElementGetter(getterFn: () => HTMLElement): void;
9 getRefocusElement(): HTMLElement | void;
10 focusOnHighlightedCell(): void;
11 refocusToEditorTextarea(delay: number): void;
12}