Class: SimpleStringFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:562
Formatter for displaying a string without a takeValue call
Implements
Formatter
<string
>
Constructors
Constructor
new SimpleStringFormat(
nullValue
):SimpleStringFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:568
ctor
Parameters
Parameter | Type | Description |
---|---|---|
nullValue | string | the string value for null |
Returns
SimpleStringFormat
Properties
nullValueString
nullValueString:
string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:563
The string to show when a value is null
Implementation of
Methods
format()
format(
value
):string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:573
Parameters
Parameter | Type |
---|---|
value | null | string |
Returns
string