Skip to main content

Interface: UiListItemProps

Component props for UiListItem.

Hierarchy

  • ComponentProps

    UiListItemProps

Properties

children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

ComponentProps.children

Defined in

src/sdk/components/FSComponent.ts:122


designatedChildDrivesFocusable

Optional designatedChildDrivesFocusable: boolean

Whether the list item's designated focusable child determines whether the list item can be focused. If true, then the list item can be focused if and only if the designated child exists and can be focused. If false, then the list item can always be focused. Defaults to false.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/List/UiListItem.tsx:22


hideBorder

Optional hideBorder: boolean

Whether to hide the list item's border. Defaults to false.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/List/UiListItem.tsx:25


onDestroy

Optional onDestroy: () => void

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

Type declaration

▸ (): void

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

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/List/UiListItem.tsx:39


onFocusGained

Optional onFocusGained: (direction: UiFocusDirection) => void

A function which is called when the list item gains UI focus.

Param

The direction from which the list item gained focus.

Type declaration

▸ (direction): void

A function which is called when the list item gains UI focus.

Parameters
NameTypeDescription
directionUiFocusDirectionThe direction from which the list item gained focus.
Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/List/UiListItem.tsx:31


onFocusLost

Optional onFocusLost: () => void

A function which is called when the list item loses UI focus.

Type declaration

▸ (): void

A function which is called when the list item loses UI focus.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/List/UiListItem.tsx:36


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

ComponentProps.ref

Defined in

src/sdk/components/FSComponent.ts:125