cheetah-grid
Version:
Cheetah Grid is a high performance grid engine that works on canvas
25 lines (23 loc) • 596 B
text/typescript
import type {
CellContext,
GridCanvasHelperAPI,
IndicatorObject,
ListGridAPI,
} from "../../ts-types";
import type { DrawCellInfo } from "../../ts-types-internal";
export const enum DrawIndicatorKind {
topLeft,
topRight,
bottomRight,
bottomLeft,
}
export type DrawIndicator = (
context: CellContext,
style: IndicatorObject,
kind: DrawIndicatorKind,
helper: GridCanvasHelperAPI,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
grid: ListGridAPI<any>,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
info: DrawCellInfo<any>
) => void;