forked from FoundKeyGang/FoundKey
fixup: confusing commas
This commit is contained in:
parent
ddf3e2c3db
commit
e8e82dac82
1 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ class TooltipDirective {
|
||||||
this._close?.();
|
this._close?.();
|
||||||
this._close = null;
|
this._close = null;
|
||||||
}, delay);
|
}, delay);
|
||||||
},
|
}
|
||||||
|
|
||||||
public show(el): void {
|
public show(el): void {
|
||||||
if (!document.body.contains(el)) return;
|
if (!document.body.contains(el)) return;
|
||||||
|
@ -58,7 +58,7 @@ class TooltipDirective {
|
||||||
showing.value = false;
|
showing.value = false;
|
||||||
};
|
};
|
||||||
}, delay);
|
}, delay);
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -102,7 +102,7 @@ export default {
|
||||||
|
|
||||||
beforeUpdate(el, binding) {
|
beforeUpdate(el, binding) {
|
||||||
(el._tooltipDirective_ as TooltipDirective).text = binding.value as string;
|
(el._tooltipDirective_ as TooltipDirective).text = binding.value as string;
|
||||||
}
|
},
|
||||||
|
|
||||||
beforeUnmount(el) {
|
beforeUnmount(el) {
|
||||||
(el._tooltipDirective_ as TooltipDirective).close();
|
(el._tooltipDirective_ as TooltipDirective).close();
|
||||||
|
|
Loading…
Reference in a new issue