Skip to content

Instantly share code, notes, and snippets.

View opeodedeyi's full-sized avatar
🎯
Focusing

Odedeyi Opeyemi opeodedeyi

🎯
Focusing
View GitHub Profile
@opeodedeyi
opeodedeyi / CheckBox.vue
Created June 12, 2021 16:43 — forked from Jonarod/CheckBox.vue
Simple custom CheckBox component for Vue.js, compatible with v-model.
/**
* @usage:
*
* <CheckBox label="Foo" value="foo" v-model="MySelectedValues" />
* <CheckBox label="Bar" value="bar" v-model="MySelectedValues" />
* <CheckBox label="Baz" value="baz" v-model="MySelectedValues" />
*
* data(){
* return {
* MySelectedValues: [],