Usage
Signature:
final class AsyncNumberRangeValidator<V> implements AsyncValidator<V>
Typescript Import Format
//This class is exported directly as module. To import it
import AsyncNumberRangeValidator= require("ojs/ojasyncvalidator-numberrange");
For additional information visit:
Final classes in JET
Classes in JET are generally final and do not support subclassing. At the moment, final is not enforced. However, this will likely change in an upcoming JET release.
Constructor
new AsyncNumberRangeValidator(options)
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
options |
NumberRangeValidator.ValidatorOptions |
<optional> |
an object literal used to provide the following properties |
Fields
-
hint :Promise.<(string|null)>
-
A hint message or null if no hint is available in the options. A hint message may be like "Enter a value between {min} and {max}" or "Enter a number greater than or equal to {min}"