Skip to main content

Class: VnavTargetAltitudeBug

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Altitude/VnavTargetAltitudeBug.tsx:20

Selected altitude bug.

Extends​

Implements​

Constructors​

Constructor​

new VnavTargetAltitudeBug(props): VnavTargetAltitudeBug

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

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsVnavTargetAltitudePropsThe propertis of the component.

Returns​

VnavTargetAltitudeBug

Inherited from​

DisplayComponent.constructor

Properties​

bugAltitude​

readonly bugAltitude: Subscribable<number>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Altitude/VnavTargetAltitudeBug.tsx:21

The bug altitude in feet, or null if none (bug will be hidden).

Implementation of​

AltitudeBugComponent.bugAltitude


context?​

optional context: [] = undefined

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

The context on this component, if any.

Implementation of​

AltitudeBugComponent.context

Inherited from​

DisplayComponent.context


contextType?​

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Implementation of​

AltitudeBugComponent.contextType

Inherited from​

DisplayComponent.contextType


parksAtBottom​

readonly parksAtBottom: true = true

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Altitude/VnavTargetAltitudeBug.tsx:22

Whether the bug should park at the bottom when below.

Implementation of​

AltitudeBugComponent.parksAtBottom


parksAtTop​

readonly parksAtTop: true = true

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Altitude/VnavTargetAltitudeBug.tsx:23

Whether the bug should park at the top of the tape when above.

Implementation of​

AltitudeBugComponent.parksAtTop


props​

props: VnavTargetAltitudeProps & ComponentProps

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

The properties of the component.

Implementation of​

AltitudeBugComponent.props

Inherited from​

DisplayComponent.props

Methods​

destroy()​

destroy(): void

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

Destroys this component.

Returns​

void

Implementation of​

AltitudeBugComponent.destroy

Inherited from​

DisplayComponent.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.

Implementation of​

AltitudeBugComponent.getContext

Inherited from​

DisplayComponent.getContext


onAfterRender()​

onAfterRender(node): void

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

A callback that is called after the component is rendered.

Parameters​

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns​

void

Implementation of​

AltitudeBugComponent.onAfterRender

Inherited from​

DisplayComponent.onAfterRender


onBeforeRender()​

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns​

void

Implementation of​

AltitudeBugComponent.onBeforeRender

Inherited from​

DisplayComponent.onBeforeRender


render()​

render(): VNode | null

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Altitude/VnavTargetAltitudeBug.tsx:27

Renders the component.

Returns​

VNode | null

A JSX element to be rendered.

Implementation of​

AltitudeBugComponent.render

Overrides​

DisplayComponent.render