Class: StringInputFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:480
Validator/Formatter for string, string input fields
Implements
Validator
<string
>Formatter
<string
>
Constructors
Constructor
new StringInputFormat(
options
):StringInputFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:489
Ctor
Parameters
Parameter | Type | Description |
---|---|---|
options | Partial <StringInputFormatOptions > | The format options. |
Returns
StringInputFormat
Properties
nullValueString
nullValueString:
string
=''
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:483
The string to show when a value is null
Implementation of
Formatter.nullValueString
options
protected
readonly
options:StringInputFormatOptions
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:481
Methods
format()
format(
value
):string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:498
Parameters
Parameter | Type |
---|---|
value | string |
Returns
string
Inherit Doc
Implementation of
Formatter.format
parse()
parse(
text
):null
|string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:504
Parameters
Parameter | Type |
---|---|
text | string |
Returns
null
| string
Inherit Doc
Implementation of
Validator.parse