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

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

Formatter.nullValueString


parse()

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

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

Parameters

ParameterType
inputstring

Returns

number | Promise<number | null> | null

Inherit Doc

Implementation of

parse.__type