Skip to content
Sheetwrite

Sheetwrite / Documentation

CellRenderer@sheetwrite/core

Custom cell renderer hooks for the main-thread canvas or DOM overlay.

Custom cell renderer hooks for the main-thread canvas or DOM overlay.

Members 2

canvas
canvas?(ctx: CanvasRenderingContext2D, c: CellPaintContext): void;
dom
dom?(c: CellPaintContext): HTMLElement;

Declaration

View full TypeScript declaration
export interface CellRenderer {
canvas?(ctx: CanvasRenderingContext2D, c: CellPaintContext): void;
dom?(c: CellPaintContext): HTMLElement;
}