Skip to main content

Interface: ContextMenuOptions

Context menu options

Properties

element

element: HTMLElement

The reference html element

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/ContextMenuDialog.tsx:57


initialScrollPosition

Optional initialScrollPosition: number

The initial scroll position for the list, if provided

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/ContextMenuDialog.tsx:61


items

items: ContextMenuItemDefinition[]

The menu item definitions

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/ContextMenuDialog.tsx:53


outerContainer

outerContainer: HTMLElement

The container html element this context menu belongs to

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/ContextMenuDialog.tsx:59


position

position: ContextMenuPosition

The position of the popout menu.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Dialogs/ContextMenuDialog.tsx:55