Skip to main content

Class: NumericConstantConfig

A configuration object which defines a factory for a numeric constant.

Implements

Constructors

constructor

new NumericConstantConfig(element): NumericConstantConfig

Creates a new NumericConstantConfig from a configuration document element.

Parameters

NameTypeDescription
elementElementA configuration document element.

Returns

NumericConstantConfig

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Config/NumericConfig.ts:27

Properties

isNumericConfig

Readonly isNumericConfig: true

Flags this object as a NumericConfig.

Implementation of

NumericConfig.isNumericConfig

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Config/NumericConfig.ts:18


isResolvableConfig

Readonly isResolvableConfig: true

Flags this object as a ResolvableConfig.

Implementation of

NumericConfig.isResolvableConfig

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Config/NumericConfig.ts:17


value

Readonly value: number

The numeric value of this config.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Config/NumericConfig.ts:21

Methods

resolve

resolve(): () => number

Resolves this config to a value.

Returns

fn

This config's resolved value.

▸ (): number

Returns

number

Implementation of

NumericConfig.resolve

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Config/NumericConfig.ts:46