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 = { const Ripple = {
inserted(el, binding, vnode) { mounted(el, binding) {
if (vnode.context.$primevue && vnode.context.$primevue.ripple) { if (binding.instance.$primevue && binding.instance.$primevue.ripple) {
create(el); create(el);
bindEvents(el); bindEvents(el);
} }
}, },
unbind(el) { unmounted(el) {
remove(el); remove(el);
} }
}; };