Class: StringInputFormat
Validator/Formatter for string, string input fields
Implements
Validator
<string
>Formatter
<string
>
Constructors
constructor
• new StringInputFormat(options?
): StringInputFormat
Ctor
Parameters
Name | Type | Description |
---|---|---|
options | Partial <StringInputFormatOptions > | The format options. |
Returns
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:489
Properties
nullValueString
• nullValueString: string
= ''
Implementation of
Formatter.nullValueString
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:483
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
Parameters
Name | Type |
---|---|
value | string |
Returns
string
Inherit Doc
Implementation of
Formatter.format
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:498
parse
▸ parse(text
): null
| string
Parameters
Name | Type |
---|---|
text | string |
Returns
null
| string
Inherit Doc
Implementation of
Validator.parse
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:504