Interface: GarminControlListProps<T>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/G1000UiControl.tsx:684
Properties on the GarminControlList component.
Extends
Type Parameters
| Type Parameter |
|---|
T |
Properties
children?
optionalchildren:DisplayChildren[]
Defined in: sdk/components/FSComponent.ts:122
The children of the display component.
Inherited from
HardwareControlListProps.children
class?
optionalclass:string
Defined in: sdk/components/controls/HardwareUiControlList.tsx:36
The CSS class to apply to this list container.
Inherited from
HardwareControlListProps.class
data
data:
SubscribableArray<T>
Defined in: sdk/components/controls/HardwareUiControlList.tsx:12
The data associated with this list component.
Inherited from
disableContainerScroll?
optionaldisableContainerScroll:boolean
Defined in: sdk/components/controls/HardwareUiControlList.tsx:42
Disables automatically ensuring that the container scrolls to the focused item.
Inherited from
HardwareControlListProps.disableContainerScroll
getFocusPositionOnScroll()?
optionalgetFocusPositionOnScroll: (direction) =>FocusPosition
Defined in: sdk/components/controls/HardwareUiControl.tsx:56
A function which returns how the control should focus its children when it is focused from a scroll.
Parameters
| Parameter | Type |
|---|---|
direction | ScrollDirection |
Returns
Inherited from
HardwareControlListProps.getFocusPositionOnScroll
hideScrollbar?
optionalhideScrollbar:boolean
Defined in: sdk/components/controls/HardwareUiControlList.tsx:30
Whether or not to hide the list scrollbar.
Inherited from
HardwareControlListProps.hideScrollbar
innerKnobScroll?
optionalinnerKnobScroll:boolean
Defined in: sdk/components/controls/HardwareUiControl.tsx:32
Whether or not the inner FMS knob scrolls also by default.
Inherited from
HardwareControlListProps.innerKnobScroll
isolateScroll?
optionalisolateScroll:boolean
Defined in: sdk/components/controls/HardwareUiControl.tsx:38
When enabled, scroll commands will not propagate from this control to its parent while the control is focused.
Inherited from
HardwareControlListProps.isolateScroll
itemSize?
optionalitemSize:number
Defined in: sdk/components/controls/HardwareUiControlList.tsx:24
The size, in pixels, of each item in the list.
Inherited from
HardwareControlListProps.itemSize
numItems?
optionalnumItems:number
Defined in: sdk/components/controls/HardwareUiControlList.tsx:27
The max number of items to display in the list.
Inherited from
HardwareControlListProps.numItems
on0?
optionalon0:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on0
on1?
optionalon1:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on1
on2?
optionalon2:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on2
on3?
optionalon3:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on3
on4?
optionalon4:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on4
on5?
optionalon5:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on5
on6?
optionalon6:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on6
on7?
optionalon7:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on7
on8?
optionalon8:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on8
on9?
optionalon9:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.on9
onA?
optionalonA:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onA
onAfterScroll()?
optionalonAfterScroll: (control,index) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:62
An event called when the scroll operation has completed.
Parameters
| Parameter | Type |
|---|---|
control | HardwareUiControl |
index | number |
Returns
void
Inherited from
HardwareControlListProps.onAfterScroll
onB?
optionalonB:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onB
onBKSP?
optionalonBKSP:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onBKSP
onBlurred()?
optionalonBlurred: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:47
An event called when the control loses focus.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onBlurred
onC?
optionalonC:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onC
onClr?
optionalonClr:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onClr
onClrLong?
optionalonClrLong:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onClrLong
onCom?
optionalonCom:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onCom
onCrs?
optionalonCrs:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onCrs
onD?
optionalonD:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onD
onDestroyed()?
optionalonDestroyed: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:71
An event called when the control is destroyed.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onDestroyed
onDirectTo?
optionalonDirectTo:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onDirectTo
onDisabled()?
optionalonDisabled: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:50
An event called when the control is disabled.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onDisabled
onDot?
optionalonDot:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onDot
onE?
optionalonE:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onE
onEnabled()?
optionalonEnabled: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:53
An event called when the control is enabled.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onEnabled
onEnter?
optionalonEnter:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onEnter
onF?
optionalonF:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onF
onFocused()?
optionalonFocused: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:44
An event called when the control is focused.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onFocused
onFPL?
optionalonFPL:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onFPL
onG?
optionalonG:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onG
onH?
optionalonH:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onH
onHome?
optionalonHome:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onHome
onI?
optionalonI:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onI
onInnerControlKnobDec?
optionalonInnerControlKnobDec:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onInnerControlKnobDec
onInnerControlKnobInc?
optionalonInnerControlKnobInc:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onInnerControlKnobInc
onInnerControlKnobPush?
optionalonInnerControlKnobPush:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onInnerControlKnobPush
onItemSelected()?
optionalonItemSelected: (data,node,index) =>void
Defined in: sdk/components/controls/HardwareUiControlList.tsx:18
A callback called when an item in the list is selected.
Parameters
| Parameter | Type |
|---|---|
data | null | T |
node | null | HardwareUiControl<Record<string, any>, HardwareUiControlProps> |
index | number |
Returns
void
Inherited from
HardwareControlListProps.onItemSelected
onJ?
optionalonJ:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onJ
onJoystickDown?
optionalonJoystickDown:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onJoystickDown
onJoystickLeft?
optionalonJoystickLeft:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onJoystickLeft
onJoystickPush?
optionalonJoystickPush:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onJoystickPush
onJoystickRight?
optionalonJoystickRight:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onJoystickRight
onJoystickUp?
optionalonJoystickUp:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onJoystickUp
onK?
optionalonK:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onK
onL?
optionalonL:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onL
onLowerKnobDec?
optionalonLowerKnobDec:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onLowerKnobDec
onLowerKnobInc?
optionalonLowerKnobInc:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onLowerKnobInc
onM?
optionalonM:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onM
onMenu?
optionalonMenu:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onMenu
onN?
optionalonN:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onN
onNav?
optionalonNav:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onNav
onO?
optionalonO:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onO
onOuterControlKnobDec?
optionalonOuterControlKnobDec:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onOuterControlKnobDec
onOuterControlKnobInc?
optionalonOuterControlKnobInc:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onOuterControlKnobInc
onP?
optionalonP:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onP
onPlusMinus?
optionalonPlusMinus:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onPlusMinus
onProc?
optionalonProc:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onProc
onQ?
optionalonQ:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onQ
onR?
optionalonR:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onR
onRangeDec?
optionalonRangeDec:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onRangeDec
onRangeInc?
optionalonRangeInc:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onRangeInc
onRegistered()?
optionalonRegistered: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:65
An event called when a control is registered with this control.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onRegistered
onS?
optionalonS:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onS
onScroll()?
optionalonScroll: (direction) =>boolean
Defined in: sdk/components/controls/HardwareUiControl.tsx:59
An event called when the control is scrolled.
Parameters
| Parameter | Type |
|---|---|
direction | ScrollDirection |
Returns
boolean
Inherited from
HardwareControlListProps.onScroll
onSPC?
optionalonSPC:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onSPC
onT?
optionalonT:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onT
onU?
optionalonU:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onU
onUnregistered()?
optionalonUnregistered: (source) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:68
An event called when a control is unregistered with this control.
Parameters
| Parameter | Type |
|---|---|
source | HardwareUiControl |
Returns
void
Inherited from
HardwareControlListProps.onUnregistered
onUpperKnobDec?
optionalonUpperKnobDec:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onUpperKnobDec
onUpperKnobInc?
optionalonUpperKnobInc:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onUpperKnobInc
onUpperKnobPush?
optionalonUpperKnobPush:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onUpperKnobPush
onV?
optionalonV:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onV
onW?
optionalonW:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onW
onX?
optionalonX:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onX
onXpdr?
optionalonXpdr:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onXpdr
onY?
optionalonY:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onY
onZ?
optionalonZ:UiControlEventHandler<G1000UiControl<G1000UiControlProps>>
Inherited from
UiControlPropEventHandlers.onZ
orderBy()?
optionalorderBy: (a,b) =>number
Defined in: sdk/components/controls/HardwareUiControlList.tsx:21
Indicates that the list should be ordered by a specified function.
Parameters
| Parameter | Type |
|---|---|
a | T |
b | T |
Returns
number
Inherited from
HardwareControlListProps.orderBy
reconcileChildBlur()?
optionalreconcileChildBlur: (index,child) =>number|BlurReconciliation
Defined in: sdk/components/controls/HardwareUiControl.tsx:80
A function which reconciles the focus state of the control's children when the control is focused with no focused children after a child has been blurred.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the child control that was blurred. |
child | HardwareUiControl | The child control that was blurred. |
Returns
number | BlurReconciliation
The index of the child to focus, or a blur reconciliation strategy.
Inherited from
HardwareControlListProps.reconcileChildBlur
ref?
optionalref:NodeReference<any>
Defined in: sdk/components/FSComponent.ts:125
A reference to the display component.
Inherited from
renderItem()
renderItem: (
data,index) =>VNode
Defined in: sdk/components/controls/HardwareUiControlList.tsx:15
A function that renders a single data item into the list.
Parameters
| Parameter | Type |
|---|---|
data | T |
index | number |
Returns
Inherited from
HardwareControlListProps.renderItem
requireChildFocus?
optionalrequireChildFocus:boolean
Defined in: sdk/components/controls/HardwareUiControl.tsx:41
Whether the control requires one of its child controls to be focused for itself to be focused.
Inherited from
HardwareControlListProps.requireChildFocus
scrollContainer?
optionalscrollContainer:NodeReference<HTMLElement>
Defined in: sdk/components/controls/HardwareUiControlList.tsx:39
An alternate HTML element to scroll to ensure the selected element is in view.
Inherited from
HardwareControlListProps.scrollContainer
scrollToMostRecentlyAdded?
optionalscrollToMostRecentlyAdded:boolean
Defined in: sdk/components/controls/HardwareUiControlList.tsx:33
Scroll to the index of the most recently added item.