Updated tooltip to V3

pull/496/head
Cagatay Civici 2020-09-22 18:02:29 +03:00
parent 4be27bd422
commit 53d281fe36
1 changed files with 3 additions and 3 deletions

View File

@ -217,16 +217,16 @@ function isOutOfBounds(el) {
} }
const Tooltip = { const Tooltip = {
bind(el, options) { beforeMount(el, options) {
el.$_ptooltipModifiers = options.modifiers; el.$_ptooltipModifiers = options.modifiers;
el.$_ptooltipValue = options.value; el.$_ptooltipValue = options.value;
bindEvents(el); bindEvents(el);
}, },
unbind(el) { unmounted(el) {
remove(el); remove(el);
unbindEvents(el); unbindEvents(el);
}, },
update(el, options) { updated(el, options) {
el.$_ptooltipModifiers = options.modifiers; el.$_ptooltipModifiers = options.modifiers;
el.$_ptooltipValue = options.value; el.$_ptooltipValue = options.value;
} }