Documentation / @debuffjp/ui / MenuItem
Interface: MenuItem
Defined in: menu.ts:4
Properties
change?
optionalchange?: (dir) =>void
Defined in: menu.ts:12
Left/right on this row (with left/right actions) call this with -1 or 1.
Parameters
dir
-1 | 1
Returns
void
disabled?
optionaldisabled?:boolean
Defined in: menu.ts:8
Skipped by navigation and drawn dimmed.
label
label:
string
Defined in: menu.ts:5
onSelect?
optionalonSelect?: () =>void
Defined in: menu.ts:6
Returns
void
value?
optionalvalue?: () =>string
Defined in: menu.ts:10
Shown in a right-hand column, e.g. a volume or "on"/"off". Read every draw.
Returns
string