Skip to main content

Interface: RowHeightContext

Defined in: layout/row-height.ts:16

What a height function knows about one Row.

Extends​

Properties​

defaultHeight​

readonly defaultHeight: number

Defined in: layout/row-height.ts:20

The --fg-row-height value in px: the height a Row takes when no function answers for it.


depth​

readonly depth: number

Defined in: layout/row-height.ts:12

Inherited from​

RowContext.depth


entry​

readonly entry: Entry<Record<string, unknown>> | undefined

Defined in: layout/row-height.ts:10

The Row's subject Entry. A header Row has none.

Inherited from​

RowContext.entry


kind​

readonly kind: PlannedRowKind

Defined in: layout/row-height.ts:11

Inherited from​

RowContext.kind


laneCount​

readonly laneCount: number

Defined in: layout/row-height.ts:18

How many Lanes the Row holds. 0 when the Row has none.


laneHeight​

readonly laneHeight: number | undefined

Defined in: layout/row-height.ts:23

The height in px the Lane tokens give this Row, or undefined when it has no Lanes. A function answers ctx.laneHeight ?? 48, so it never repeats the Lane formula.