Skip to main content

Interface: ContextMenuOptions

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

Context menu options

Properties

element

element: HTMLElement

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

The reference html element


initialScrollPosition?

optional initialScrollPosition: number

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

The initial scroll position for the list, if provided


items

items: ContextMenuItemDefinition[]

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

The menu item definitions


outerContainer

outerContainer: HTMLElement

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

The container html element this context menu belongs to


position

position: ContextMenuPosition

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

The position of the popout menu.