Skip to main content

Class: FlightLevelInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:87

Format for flight level input (accepts altitudes as well but always displays flight level).

Implements​

Constructors​

Constructor​

new FlightLevelInputFormat(nullValueDisplay): FlightLevelInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:89

Parameters​

ParameterTypeDefault value
nullValueDisplaystring'□□□□□'

Returns​

FlightLevelInputFormat

Inherit Doc​

Properties​

format​

format: FormatterFunction<number>

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:93

Inherit Doc​

Implementation of​

FormatterValidator.format


nullValueString​

nullValueString: string

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:94

The string to show when a value is null

Implementation of​

FormatterValidator.nullValueString


parse()​

parse: (input) => null | number | Promise<null | number>

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:91

Parameters​

ParameterType
inputstring

Returns​

null | number | Promise<null | number>

Inherit Doc​

Implementation of​

FormatterValidator.parse