Toggle active boolean to set class on buttons.

This commit is contained in:
2020-02-20 13:41:39 +01:00
parent bc6f706e4a
commit d836870612

View File

@@ -13,6 +13,7 @@ export default {
}, },
methods: { methods: {
emit() { emit() {
this.active = !this.active;
this.$emit('click') this.$emit('click')
} }
} }