@jsvision/ui / ParsedLabel
Interface: ParsedLabel
Defined in: ui/src/menu/builders.ts:39
A label with its ~X~ accelerator parsed out.
Properties
hotkey
hotkey:
string|null
Defined in: ui/src/menu/builders.ts:43
The lowercase accelerator char, or null if the label had no ~X~.
hotkeyCol
hotkeyCol:
number
Defined in: ui/src/menu/builders.ts:45
The accelerator char's column in text, or -1 when there is none.
text
text:
string
Defined in: ui/src/menu/builders.ts:41
The display text (tildes removed).