Interface: UiListItemProps
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiListItem.tsx:16
Component props for UiListItem.
Extends
Properties
children?
optionalchildren:DisplayChildren[]
Defined in: src/sdk/components/FSComponent.ts:122
The children of the display component.
Inherited from
designatedChildDrivesFocusable?
optionaldesignatedChildDrivesFocusable:boolean
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiListItem.tsx:22
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.
hideBorder?
optionalhideBorder:boolean
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiListItem.tsx:25
Whether to hide the list item's border. Defaults to false.
onDestroy()?
optionalonDestroy: () =>void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiListItem.tsx:39
A callback function to execute when the list item is destroyed.
Returns
void
onFocusGained()?
optionalonFocusGained: (direction) =>void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiListItem.tsx:31
A function which is called when the list item gains UI focus.
Parameters
| Parameter | Type | Description |
|---|---|---|
direction | UiFocusDirection | The direction from which the list item gained focus. |
Returns
void
onFocusLost()?
optionalonFocusLost: () =>void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/List/UiListItem.tsx:36
A function which is called when the list item loses UI focus.
Returns
void
ref?
optionalref:NodeReference<any>
Defined in: src/sdk/components/FSComponent.ts:125
A reference to the display component.