Interface: GenericUiFocusableComponentProps
Component props for GenericUiFocusableComponent.
Hierarchy
ComponentProps
↳
GenericUiFocusableComponentProps
Properties
canBeFocused
• Optional
canBeFocused: boolean
| Subscribable
<boolean
>
Whether the component can be focused. Defaults to true
.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:12
children
• Optional
children: DisplayChildren
[]
The children of the display component.
Inherited from
ComponentProps.children
Defined in
src/sdk/components/FSComponent.ts:122
onAfterRender
• Optional
onAfterRender: (thisNode
: VNode
) => void
A function which is called after the component is rendered.
Type declaration
▸ (thisNode
): void
A function which is called after the component is rendered.
Parameters
Name | Type |
---|---|
thisNode | VNode |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:15
onDeregistered
• Optional
onDeregistered: (controller
: UiFocusController
) => void
A function which is called when the component is deregistered with a controller.
Type declaration
▸ (controller
): void
A function which is called when the component is deregistered with a controller.
Parameters
Name | Type |
---|---|
controller | UiFocusController |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:21
onDestroy
• Optional
onDestroy: () => void
A function which is called when the component is destroyed.
Type declaration
▸ (): void
A function which is called when the component is destroyed.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:36
onFocusGained
• Optional
onFocusGained: (direction
: UiFocusDirection
) => void
A function which is called when the component gains focus.
Type declaration
▸ (direction
): void
A function which is called when the component gains focus.
Parameters
Name | Type |
---|---|
direction | UiFocusDirection |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:24
onFocusLost
• Optional
onFocusLost: () => void
A function which is called when the component loses focus.
Type declaration
▸ (): void
A function which is called when the component loses focus.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:27
onRegistered
• Optional
onRegistered: (controller
: UiFocusController
) => void
A function which is called when the component is registered with a controller.
Type declaration
▸ (controller
): void
A function which is called when the component is registered with a controller.
Parameters
Name | Type |
---|---|
controller | UiFocusController |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:18
onUiInteractionEvent
• Optional
onUiInteractionEvent: (event
: UiInteractionEvent
) => boolean
A function which handles interaction events routed to the component. If not defined, then the component will not handle any events.
Type declaration
▸ (event
): boolean
A function which handles interaction events routed to the component. If not defined, then the component will not handle any events.
Parameters
Name | Type |
---|---|
event | UiInteractionEvent |
Returns
boolean
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/GenericUiFocusableComponent.tsx:33
ref
• Optional
ref: NodeReference
<any
>
A reference to the display component.
Inherited from
ComponentProps.ref
Defined in
src/sdk/components/FSComponent.ts:125