Skip to main content

Class: VSpeedBugConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:8

A configuration object which defines an airspeed reference V-speed bug.

Implements​

Constructors​

Constructor​

new VSpeedBugConfig(element): VSpeedBugConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:21

Creates a new VSpeedBugConfig from a configuration document element.

Parameters​

ParameterTypeDescription
elementElementA configuration document element.

Returns​

VSpeedBugConfig

Constructor​

new VSpeedBugConfig(name, label): VSpeedBugConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:27

Creates a new VSpeedBugConfig using a specified V-speed name and bug label.

Parameters​

ParameterTypeDescription
namestringThe name of the V-speed.
labelstringThe label of the V-speed bug.

Returns​

VSpeedBugConfig

Properties​

isResolvableConfig​

readonly isResolvableConfig: true = true

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:9

Flags this object as a ResolvableConfig.

Implementation of​

ResolvableConfig.isResolvableConfig


label​

readonly label: string

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:15

The label of this config's speed bug.


name​

readonly name: string

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:12

The name of the reference V-speed associated with this config's speed bug.

Methods​

resolve()​

resolve(): (vSpeedDefs) => G3XVSpeedBugDefinition | undefined

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:55

Resolves this config to a value.

Returns​

This config's resolved value.

(vSpeedDefs): G3XVSpeedBugDefinition | undefined

Parameters​
ParameterType
vSpeedDefsreadonly VSpeedDefinition[]
Returns​

G3XVSpeedBugDefinition | undefined

Implementation of​

ResolvableConfig.resolve