Skip to main content

Class: BearingInputFormat

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

Format for a bearing.

Implements​

Constructors​

Constructor​

new BearingInputFormat(nullValueDisplay, min, max, decimals?): BearingInputFormat

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

Parameters​

ParameterTypeDefault value
nullValueDisplaystring'□□□□□'
minnumber0
maxnumber360
decimals?numberundefined

Returns​

BearingInputFormat

Inherit Doc​

Properties​

format​

format: FormatterFunction<number>

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

Inherit Doc​

Implementation of​

FormatterValidator.format


nullValueString​

nullValueString: string

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

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:124

Parameters​

ParameterType
inputstring

Returns​

null | number | Promise<null | number>

Inherit Doc​

Implementation of​

FormatterValidator.parse