Skip to content

charton API


charton API / @chart-on/ui / index / PickerItem

Interface: PickerItem ​

Defined in: ui/src/picker-model.ts:10

A row of the picker.

Properties ​

category? ​

optional category?: string | readonly string[]

Defined in: ui/src/picker-model.ts:17

Category id(s) the item is listed under.


description? ​

optional description?: string

Defined in: ui/src/picker-model.ts:15

Secondary text; also searched.


disabled? ​

optional disabled?: boolean

Defined in: ui/src/picker-model.ts:21

Shown but cannot be picked.


id ​

id: string

Defined in: ui/src/picker-model.ts:12

Unique within the picker; reported in the selection.


keywords? ​

optional keywords?: readonly string[]

Defined in: ui/src/picker-model.ts:19

Other words that find the item, e.g. abbreviations.


label ​

label: string

Defined in: ui/src/picker-model.ts:13