LaravelLaravel & VueJsVueJs

Vue Checkbox Switch – Vue.js Feed

Vue Checkbox Switch

A simple Vue component for checkbox’s switch style based on vue-bulma/switch and this PR on Bulma.



You don’t need any dependencies except Vuejs 2

Copy src/Switch.vue to your components folder

Switch Another one
</div> </template> import Switch from './components/Switch' export default { name: 'view', components: { 'app-switch': Switch }, data () { return { value: false, text: 'Enabled!' } }, watch: { value (val) { this.text = val ? 'Yes' : 'No' } } }

Find on Vue Checkbox Switch GitHub.

Source link
★ READ ALSO ★  BaseTube - VideoTube Video CMS script Theme

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.