Updated tooltip to V3
parent
4be27bd422
commit
53d281fe36
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue