Refactor on directives

This commit is contained in:
mertsincan 2023-07-07 13:00:11 +01:00
parent 0f0c9b95b2
commit 9b9444b6b0
6 changed files with 14 additions and 10 deletions

View file

@ -35,6 +35,8 @@ const Tooltip = BaseTooltip.extend('tooltip', {
target.unstyled = options.instance.$primevue?.config?.unstyled || options.value?.unstyled || false;
this.bindEvents(target, options);
el.setAttribute('data-pd-tooltip', true);
},
updated(el, options) {
let target = this.getTarget(el);