@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
18 lines (17 loc) • 655 B
TypeScript
import type { SpanLayout } from "@1771technologies/lytenyte-shared";
import type { PositionUnion } from "../../../+types";
interface FocusLayoutCriteria {
readonly kind: "cell" | "full-width";
readonly isTop: boolean;
readonly isBot: boolean;
readonly isRowCenterBefore: boolean;
readonly isRowCenterAfter: boolean;
readonly isStart: boolean;
readonly isEnd: boolean;
readonly isColCenterBefore: boolean;
readonly isColCenterAfter: boolean;
readonly rowIndex: number;
readonly colIndex: number;
}
export declare function getFocusCriteria(n: SpanLayout, f: PositionUnion | null): FocusLayoutCriteria;
export {};