Name | Description | |
---|---|---|
format | Use this method to format the specified value and return it as a string using the specified format (or type) and options. To use this method, instead of wijmo.input.IFormatValidateLib.format, use $.wijinputcore.format. See examples below for the correct usage. Internally, wijinput widgets use the same format library. The formatting logic used depends on the value type. Valid types are:
DateFor date values, the format library uses wijinputdate logic. StringFor string values, the format library uses wijinputmask logic. NumberFor number values, the format library uses wijinputnumber logic.
The options parameter can take an INumberOptions object or it can be null. | |
parseDate | Use this method to parse the specified value and return it as a string using the specified format (or type) and options. To use this method, instead of wijmo.input.IFormatValidateLib.parseDate, use $.wijinputcore.parseDate. See example below for the correct usage. | |
parseNumber | Use this method to parse the specified value and return it as a string using the specified format (or type) and options. To use this method, instead of wijmo.input.IFormatValidateLib.parseNumber, use $.wijinputcore.parseNumber. See example below for the correct usage. | |
validateDate | Use this method to validate the specified value against the specified options and return a Boolean value. If the value cannot be parsed with the specified parameters, it returns false. To use this method, instead of wijmo.input.IFormatValidateLib.validateDate, use $.wijinputcore.validateDate. See example below for the correct usage. | |
validateMask | Use this method to validate the specified value against the specified options and return a Boolean value. If the value cannot be parsed with the specified parameters, it returns false. To use this method, instead of wijmo.input.IFormatValidateLib.validateMask, use $.wijinputcore.validateMask. See example below for the correct usage. | |
validateNumber | Use this method to validate the specified value against the specified options and return a Boolean value. If the value cannot be parsed with the specified parameters, it returns false. To use this method, instead of wijmo.input.IFormatValidateLib.validateNumber, use $.wijinputcore.validateNumber. See example below for the correct usage. | |
validateText | Use this method to validate the specified value against the specified options and return a Boolean value. If the value cannot be parsed with the specified parameters, it returns false. To use this method, instead of wijmo.input.IFormatValidateLib.validateText, use $.wijinputcore.validateText. See example below for the correct usage. |