Skip to main content

Class: WaypointRegion

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Waypoint/WaypointRegion.tsx:17

A text display for waypoint region.

Extends​

Constructors​

Constructor​

new WaypointRegion(props): WaypointRegion

Defined in: sdk/components/FSComponent.ts:76

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsWaypointRegionPropsThe propertis of the component.

Returns​

WaypointRegion

Inherited from​

WaypointComponent.constructor

Properties​

context?​

optional context: [] = undefined

Defined in: sdk/components/FSComponent.ts:67

The context on this component, if any.

Inherited from​

WaypointComponent.context


contextType?​

readonly optional contextType: readonly [] = undefined

Defined in: sdk/components/FSComponent.ts:70

The type of context for this component, if any.

Inherited from​

WaypointComponent.contextType


props​

props: WaypointRegionProps & ComponentProps

Defined in: sdk/components/FSComponent.ts:64

The properties of the component.

Inherited from​

WaypointComponent.props


textSub​

protected readonly textSub: ComputedSubject<Waypoint | null, string>

Defined in: workingtitle-instruments-g1000/html_ui/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:109

Gets a context data subscription from the context collection.

Parameters​

ParameterTypeDescription
contextneverThe 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:83

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/Shared/UI/Waypoint/WaypointRegion.tsx:43

A callback which is called when this component's waypoint changes.

Parameters​

ParameterTypeDescription
waypointWaypoint | nullThe new waypoint.

Returns​

void

Overrides​

WaypointComponent.onWaypointChanged


render()​

render(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Waypoint/WaypointRegion.tsx:48

Renders the component.

Returns​

VNode

A JSX element to be rendered.

Overrides​

WaypointComponent.render