@textbus/xnote
Version:
A high-performance rich text editor that supports multiplayer online collaboration.
16 lines (15 loc) • 732 B
TypeScript
import { CollaborateSelectionAwarenessDelegate, DomAdapter, UserSelectionCursor } from '@textbus/platform-browser';
import { AbstractSelection, Slot, Selection } from '@textbus/core';
import { TableComponent } from './table.component';
export declare function findFocusCell(table: TableComponent, slot: Slot): Slot | null;
export declare class TableSelectionAwarenessDelegate extends CollaborateSelectionAwarenessDelegate {
private domAdapter;
private selection;
constructor(domAdapter: DomAdapter, selection: Selection);
getRects(abstractSelection: AbstractSelection, _: any, data: UserSelectionCursor): false | {
left: number;
top: number;
width: number;
height: number;
}[];
}