Fixed ripple

pull/496/head
Cagatay Civici 2020-09-23 14:47:20 +03:00
parent 96c6c078ca
commit 0befe4ebe8
1 changed files with 3 additions and 3 deletions

View File

@ -62,13 +62,13 @@ function getInk(el) {
}
const Ripple = {
inserted(el, binding, vnode) {
if (vnode.context.$primevue && vnode.context.$primevue.ripple) {
mounted(el, binding) {
if (binding.instance.$primevue && binding.instance.$primevue.ripple) {
create(el);
bindEvents(el);
}
},
unbind(el) {
unmounted(el) {
remove(el);
}
};