@jimka/typescript-ui / component/container / MenuConfig
Interface: MenuConfig
Defined in: src/typescript/lib/component/container/MenuItem.ts:73
Describes one top-level entry in a MenuBar.
Properties
glyph?
ts
optional glyph: string;Defined in: src/typescript/lib/component/container/MenuItem.ts:83
Optional registry glyph name displayed to the left of the bar button's label (e.g. "file", "eye", "info-circle"). Omit for a text-only menu button.
items
ts
items: MenuItemConfig[];Defined in: src/typescript/lib/component/container/MenuItem.ts:77
Ordered list of items in the dropdown panel.
label
ts
label: string;Defined in: src/typescript/lib/component/container/MenuItem.ts:75
Label shown in the bar button (e.g. "File").