Class: VSpeedBugConfig
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:9
A configuration object which defines an airspeed reference V-speed bug.
Implements
ResolvableConfig<(vSpeedDefs) =>VSpeedBugDefinition|undefined>
Constructors
Constructor
new VSpeedBugConfig(
element):VSpeedBugConfig
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:22
Creates a new VSpeedBugConfig from a configuration document element.
Parameters
| Parameter | Type | Description |
|---|---|---|
element | Element | A configuration document element. |
Returns
VSpeedBugConfig
Constructor
new VSpeedBugConfig(
name,label):VSpeedBugConfig
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:28
Creates a new VSpeedBugConfig using a specified V-speed name and bug label.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the V-speed. |
label | string | The label of the V-speed bug. |
Returns
VSpeedBugConfig
Properties
isResolvableConfig
readonlyisResolvableConfig:true=true
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:10
Flags this object as a ResolvableConfig.
Implementation of
ResolvableConfig.isResolvableConfig
label
readonlylabel:string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:16
The label of this config's speed bug.
name
readonlyname:string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:13
The name of the reference V-speed associated with this config's speed bug.
Methods
resolve()
resolve(): (
vSpeedDefs) =>undefined|VSpeedBugDefinition
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Profiles/AirspeedIndicator/VSpeedBugConfig.ts:56
Resolves this config to a value.
Returns
This config's resolved value.
(
vSpeedDefs):undefined|VSpeedBugDefinition
Parameters
| Parameter | Type |
|---|---|
vSpeedDefs | Iterable<VSpeedDefinition> |
Returns
undefined | VSpeedBugDefinition