Skip to main content

Interface: UiFlightPlanListProps

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/FlightPlan/UiFlightPlanList.tsx:20

Component props for UiFlightPlanList.

Extends

Properties

animateScrollToFocus?

optional animateScrollToFocus: boolean | Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:80

Whether to animate scrolling when the list automatically scrolls to a newly focused item. Defaults to true.

Inherited from

Omit.animateScrollToFocus


autoDisableOverscroll?

optional autoDisableOverscroll: boolean | Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:61

Whether to automatically disable overscrolling when the total height of all the list's items does not exceed the list's visible height. Defaults to false.

Inherited from

Omit.autoDisableOverscroll


autoRefocus?

optional autoRefocus: boolean

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:86

Whether the list should automatically try to focus another item if the focused item loses focus because it could no longer be focused or if it was removed from the list. Defaults to false.

Inherited from

Omit.autoRefocus


bus

bus: EventBus

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:30

The event bus.

Inherited from

Omit.bus


children?

optional children: DisplayChildren[]

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

The children of the display component.

Inherited from

Omit.children


class?

optional class: string | ToggleableClassNameRecord | SubscribableSet<string>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:109

CSS class(es) to add to the list's root element.

Inherited from

Omit.class


data

data: FlightPlanDataArray

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/FlightPlan/UiFlightPlanList.tsx:22

The flight plan data to display in the list.


fadeScrollBar?

optional fadeScrollBar: boolean | Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:75

Whether to fade out the scroll bar when the total height of all the list's items is less than or equal to the list's visible height. Space is reserved for the scroll bar even when it is faded out. Defaults to true.

Inherited from

Omit.fadeScrollBar


gduFormat

gduFormat: GduFormat

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/FlightPlan/UiFlightPlanList.tsx:28

The format of the list's parent GDU.


itemsPerPage

itemsPerPage: number | Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/FlightPlan/UiFlightPlanList.tsx:25

The number of visible items per page.


lengthPx?

optional lengthPx: number | Subscribable<number>

Defined in: src/garminsdk/components/list/ScrollList.tsx:34

The length of the list, in pixels, along its scroll axis. If not defined, then the default value depends on whether the number of items per page is defined. If the number of items per page is defined, then the length defaults to the sum of the list item length and spacing multiplied by the number of items per page. If the number of items per page is not defined, then the length defaults to 100 pixels.

Inherited from

Omit.lengthPx


listItemLengthPx

listItemLengthPx: number | Subscribable<number>

Defined in: src/garminsdk/components/list/ScrollList.tsx:17

The length of each list item, in pixels, along the list's scroll axis.

Inherited from

Omit.listItemLengthPx


listItemSpacingPx?

optional listItemSpacingPx: number | Subscribable<number>

Defined in: src/garminsdk/components/list/ScrollList.tsx:20

The amount of space between each list item in pixels. Defaults to zero pixels.

Inherited from

Omit.listItemSpacingPx


maxOverscrollPx?

optional maxOverscrollPx: number | Subscribable<number>

Defined in: src/garminsdk/components/list/ScrollList.tsx:26

The maximum distance the list can overscroll past the beginning and end, in pixels. Defaults to the length of one list item.

Inherited from

Omit.maxOverscrollPx


maxRenderedItemCount?

optional maxRenderedItemCount: number | Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:55

The maximum number of items that can be rendered simultaneously. Ignored if data, renderItem, or itemsPerPage is not defined. The value will be clamped to be greater than or equal to itemsPerPage * 3. Defaults to infinity.

Inherited from

Omit.maxRenderedItemCount


onDestroy()?

optional onDestroy: () => void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:106

A callback function to execute when the list is destroyed.

Returns

void

Inherited from

Omit.onDestroy


onTopVisibleIndexChanged()?

optional onTopVisibleIndexChanged: (topVisibleIndex) => void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:103

A callback that will be called with the topVisibleIndex when it changes.

Parameters

ParameterType
topVisibleIndexnumber

Returns

void

Inherited from

Omit.onTopVisibleIndexChanged


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

Omit.ref


renderItem()?

optional renderItem: (data, index) => VNode

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:48

A function that renders a single data item into the list. If both this property and data are defined, the list will display rendered data items instead of its children.

Parameters

ParameterType
dataFlightPlanDataItem
indexnumber

Returns

VNode

Inherited from

Omit.renderItem


showScrollBar?

optional showScrollBar: boolean | "auto" | Subscribable<boolean | "auto">

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:69

Whether to show the list's scroll bar. If true, then space is always reserved for the scroll bar, and its visibility depends on the fadeScrollBar option. If false, then no space is reserved for the scroll bar and it is always hidden. If auto, then space is reserved for the scroll bar if and only if the total height of all the list's items exceeds the list's visible height. Defaults to true.

Inherited from

Omit.showScrollBar


validKnobIds?

optional validKnobIds: Iterable<UiKnobId>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiList.tsx:36

The IDs of the valid bezel rotary knobs that can be used to change the list's focused item. If not defined, then knobs cannot be used to change the list's focused item.

Inherited from

Omit.validKnobIds