Type Definitions
# InputFormatter(value, input, dispatchEvent)
Standard interface formatters are provided. Returned value will be applied to the input value.
NOTE: We internally dispatch the necessary events to be compatible w/ most libraries. You may alternatively dispatch your own events on the $input using the dispatchEvent helper.
Parameters:
Name | Type | Description |
---|---|---|
value |
unknown | The current value of the input |
input |
HTMLElement | The input element being formatted |
dispatchEvent |
EventBuilderHelper | Helper for dispatching events on the input |
# ValidationCB(VPInstance)
Validation callback type definition
Parameters:
Name | Type | Description |
---|---|---|
VPInstance |
Validatable.<T> |