Skip to content
Sheetwrite

Sheetwrite / Documentation

CellEditorInstance@sheetwrite/svelte

Retained lifecycle returned by a custom editor's mount method.

Retained lifecycle returned by a custom editor's mount method.

Members 5

update
update(context: CellEditorContext): void;
reposition
reposition(rect: CellEditorRect): void;
commit
commit(navigation: CellEditorNavigation): string | undefined | Promise<string | undefined>;
cancel
cancel(): void;
destroy
destroy(): void;

Declaration

View full TypeScript declaration
export interface CellEditorInstance {
update(context: CellEditorContext): void;
reposition(rect: CellEditorRect): void;
commit(
navigation: CellEditorNavigation,
): string | undefined | Promise<string | undefined>;
cancel(): void;
destroy(): void;
}