Constructor
(abstract) new (require("MFormatter"))(fieldInstance, onKeyUp, onFocusOut)
- Description:
Constructor.
Parameters:
| Name | Type | Description |
|---|---|---|
fieldInstance |
MField | Field instance. |
onKeyUp |
boolean | Whether to validate on |
onFocusOut |
boolean | Whether to validate on |
Methods
onKeyUp() → {boolean}
- Description:
Property method.
Returns:
Value.
- Type
- boolean
onFocusOut() → {boolean}
- Description:
Property method.
Returns:
Value.
- Type
- boolean
format()
- Description:
Implement this method in child class to format the provided
valueand return it.