We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70cf360 commit 4bde7f3Copy full SHA for 4bde7f3
1 file changed
app/components/Shared/Button.vue
@@ -1,5 +1,5 @@
1
<template>
2
- <div class="button" :class="containerStyles" @click="onClick($event)">
+ <div class="button" :class="containerStyles">
3
<Icon v-if="icon" :name="icon" :color="iconColor" class="button__icon" />
4
<span class="button__text">
5
<slot />
@@ -99,9 +99,9 @@ export default {
99
* Emits a 'click' event
100
* Can be listened via @click
101
*/
102
- onClick(event) {
103
- this.$emit('click', event)
104
- }
+ // onClick(event) {
+ // this.$emit('click', event)
+ // }
105
}
106
107
</script>
0 commit comments