Skip to main content

Interface: MenuItem

A softkey menu item.

Properties

additionalClasses

additionalClasses: SetSubject<string>

Additional CSS classes to add to the menu item display.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:29


disabled

disabled: Subject<boolean>

Whether or not this menu item is disabled.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:17


handler

Optional handler: (menu: SoftKeyMenu) => void

The handler to invoke when the menu item is pressed.

Type declaration

▸ (menu): void

The handler to invoke when the menu item is pressed.

Parameters
NameType
menuSoftKeyMenu
Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:14


highlighted

highlighted: Subject<boolean>

Whether or not the menu item is highlighted.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:26


label

label: Subject<string>

The label for the menu item.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:11


pressed

pressed: SubEvent<SoftKeyMenu, undefined>

An event that fires when this menu item is pressed.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:20


value

value: Subject<undefined | string | boolean>

The value of the menu item, if any.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:23