Removed $listeners from button

pull/496/head
Cagatay Civici 2020-09-11 20:16:56 +03:00
parent 0dce8b5174
commit 6ea8264887
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<button :class="buttonClass" v-on="$listeners" type="button" v-ripple>
<button :class="buttonClass" type="button" v-ripple>
<slot>
<span v-if="icon" :class="iconClass"></span>
<span class="p-button-label">{{label||'&nbsp;'}}</span>
@ -29,6 +29,10 @@ export default {
badgeClass: {
type: String,
default: null
},
disabled: {
type: Boolean,
default: null
}
},
computed: {