rhyek/vue-bootstrap-toggle

Ability to set default properties globally

csgt opened this issue · 1 comments

csgt commented

It would be nice if one could configure default properties to be used globally on the project.

rhyek commented

In 1.1.1 you can do:

import VueBootstrapToggle from 'vue-bootstrap-toggle'

Object.assign(VueBootstrapToggle.defaults, { on: 'Yes', off: 'No' })