Class: WaypointRegion
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Waypoint/WaypointRegion.tsx:17
A text display for waypoint region.
Extends
WaypointComponent
<WaypointRegionProps
>
Constructors
Constructor
new WaypointRegion(
props
):WaypointRegion
Defined in: sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
Parameter | Type | Description |
---|---|---|
props | WaypointRegionProps | The propertis of the component. |
Returns
WaypointRegion
Inherited from
WaypointComponent<WaypointRegionProps>.constructor
Properties
context?
optional
context: [] =undefined
Defined in: sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
WaypointComponent.context
contextType?
readonly
optional
contextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
WaypointComponent.contextType
props
props:
WaypointRegionProps
&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
WaypointComponent.props
textSub
protected
readonly
textSub:ComputedSubject
<null
|Waypoint
,string
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Waypoint/WaypointRegion.tsx:18
Methods
destroy()
destroy():
void
Defined in: garminsdk/components/waypoint/WaypointComponent.tsx:34
Destroys this component.
Returns
void
Inherited from
WaypointComponent.destroy
getContext()
protected
getContext(context
):never
Defined in: sdk/components/FSComponent.ts:106
Gets a context data subscription from the context collection.
Parameters
Parameter | Type | Description |
---|---|---|
context | never | The context to get the subscription for. |
Returns
never
The requested context.
Throws
An error if no data for the specified context type could be found.
Inherited from
WaypointComponent.getContext
onAfterRender()
onAfterRender():
void
Defined in: garminsdk/components/waypoint/WaypointComponent.tsx:18
A callback that is called after the component is rendered.
Returns
void
Inherited from
WaypointComponent.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
WaypointComponent.onBeforeRender
onWaypointChanged()
protected
onWaypointChanged(waypoint
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Waypoint/WaypointRegion.tsx:43
A callback which is called when this component's waypoint changes.
Parameters
Parameter | Type | Description |
---|---|---|
waypoint | null | Waypoint | The new waypoint. |
Returns
void
Overrides
WaypointComponent.onWaypointChanged
render()
render():
VNode
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Waypoint/WaypointRegion.tsx:48
Returns
VNode
Overrides
WaypointComponent.render