Documentation / @zerotal/monitor / MonitorTableColumn
Interface: MonitorTableColumn
Defined in: monitor/src/panel.ts:52
One column of a contributed table.
Properties
key
key:
string
Defined in: monitor/src/panel.ts:53
label
label:
string
Defined in: monitor/src/panel.ts:54
align?
optionalalign?:"start"|"end"
Defined in: monitor/src/panel.ts:55
mono?
optionalmono?:boolean
Defined in: monitor/src/panel.ts:57
Render in a monospace face — ids, keys, class names.
format?
optionalformat?: (value,row) =>string
Defined in: monitor/src/panel.ts:59
Turn the raw value into display text. Defaults to String(value).
Parameters
value
unknown
row
Returns
string
tone?
optionaltone?: (value,row) =>MonitorTone|null
Defined in: monitor/src/panel.ts:61
Tint the cell.
Parameters
value
unknown
row
Returns
MonitorTone | null