Interface: MenuItemDefinition
The MenuItemDefinition interface.
Properties
closeAfterAction
• Optional
closeAfterAction: boolean
if the dialog should be closed after this menu item is selected (default:true)
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/PopoutMenuItem.tsx:23
id
• id: string
menu item ID
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/PopoutMenuItem.tsx:11
isEnabled
• Optional
isEnabled: boolean
menu item enabled/disabled bool
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/PopoutMenuItem.tsx:20
Methods
action
▸ action(): void
The action to execute when this item is selected.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/PopoutMenuItem.tsx:26
renderContent
▸ renderContent(): VNode
Renders the content of the menu item.
Returns
VNode
the rendered content of the menu item as a VNode.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/PopoutMenuItem.tsx:17