Skip to main content

Interface: GtcNearestWaypointListItemProps<EntryType>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Nearest/GtcNearestWaypointListItem.tsx:14

Component props for GtcNearestWaypointListItem.

Extends

Type Parameters

Type ParameterDefault type
EntryType extends NearestWaypointEntry<FacilityWaypoint<any>>NearestWaypointEntry<FacilityWaypoint<any>>

Properties

children?

optional children: DisplayChildren[]

Defined in: sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

GtcListItemProps.children


class?

optional class: string | ToggleableClassNameRecord | SubscribableSet<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/List/GtcListItem.tsx:26

CSS class(es) to apply to the list item div element.

Inherited from

GtcListItemProps.class


entry

entry: EntryType

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Nearest/GtcNearestWaypointListItem.tsx:21

Data pertaining to the list item's waypoint.


gtcService

gtcService: GtcService

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Nearest/GtcNearestWaypointListItem.tsx:18

The GTC service.


hideBorder?

optional hideBorder: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/List/GtcListItem.tsx:14

Hides the list item border, allowing the content to easily fill the entire space of the list-item. Defaults to false.

Inherited from

GtcListItemProps.hideBorder


isSelected?

optional isSelected: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Nearest/GtcNearestWaypointListItem.tsx:27

Whether the list item is selected.


onButtonPressed()?

optional onButtonPressed: (entry) => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Nearest/GtcNearestWaypointListItem.tsx:30

A callback function to execute when the list item's waypoint button is pressed.

Parameters

ParameterType
entryEntryType

Returns

void


onDestroy()?

optional onDestroy: () => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/List/GtcListItem.tsx:23

A callback function to execute when the list item is destroyed.

Returns

void

Inherited from

GtcListItemProps.onDestroy


paddedListItem?

optional paddedListItem: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/List/GtcListItem.tsx:20

Adds some default, commonly used padding to the list item. Defaults to false.

Inherited from

GtcListItemProps.paddedListItem


ref?

optional ref: NodeReference<any>

Defined in: sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

GtcListItemProps.ref


unitsSettingManager

unitsSettingManager: UnitsUserSettingManager

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Nearest/GtcNearestWaypointListItem.tsx:24

A manager for display unit settings.