Toggle active boolean to set class on buttons.
This commit is contained in:
@@ -13,6 +13,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
emit() {
|
||||
this.active = !this.active;
|
||||
this.$emit('click')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user