Skip to main content

GridCellWidget

Renders the content of the specified [gridCell], and provides interactivity as well.

Constructors

new GridCellWidget()

new GridCellWidget(dart): GridCellWidget

Parameters

ParameterType
dartany

Returns

GridCellWidget

Source

src/grid.ts:633

Properties

PropertyType
dartany

Accessors

bounds

get bounds(): Rect

Returns

Rect

Source

src/grid.ts:656


canvas

get canvas(): HTMLCanvasElement

Returns

HTMLCanvasElement

Source

src/grid.ts:649


gridCell

get gridCell(): GridCell<any>

set gridCell(x): void

Parameters

ParameterType
xGridCell<any>

Returns

GridCell<any>

Source

src/grid.ts:653


root

get root(): HTMLDivElement

Returns

HTMLDivElement

Source

src/grid.ts:651

Methods

render()

render(): void

Returns

void

Source

src/grid.ts:658


fromGridCell()

static fromGridCell(gridCell, canvasSize): GridCellWidget

Parameters

ParameterType
gridCellGridCell<any>
canvasSizeSize

Returns

GridCellWidget

Source

src/grid.ts:637