Class: StringInputFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:479
Validator/Formatter for string, string input fields
Implements
Constructors
Constructor
new StringInputFormat(
options):StringInputFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:488
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/WT21v2/FMC/Framework/FmcFormats.ts:482
The string to show when a value is null
Implementation of
options
protectedreadonlyoptions:StringInputFormatOptions
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:480
Methods
format()
format(
value):string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:497
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
string
Inherit Doc
Implementation of
parse()
parse(
text):null|string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:503
Parameters
| Parameter | Type |
|---|---|
text | string |
Returns
null | string