-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
When using the mixin (as documented here), there is no apparent way to set the interaction mode. It seems the entire plugin have to be imported first, so that the plugin method setMode can be called before the mixin is used - perhaps this should be documented?
Example:
import SimpleVueValidator from 'simple-vue-validator'
SimpleVueValidator.setMode('conservative')
const Validator = SimpleVueValidator.Validator
export default {
name: 'MyComponent',
mixins: [SimpleVueValidator.mixin],
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels