Options
Option | HTML attribute | Type | Description |
---|---|---|---|
baseValue |
data-fv-step-base |
Float | The base value, default to 0 |
message |
data-fv-step-message |
String | The error message |
step |
data-fv-step-step |
Float | The step, default to 1 |
When setting options via HTML attributes, remember to
enable the validator by setting data-fv-step="true".
The message and other options can be updated on the
fly via the updateMessage() and updateOption() methods