mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add unbind to tooltip
This commit is contained in:
@@ -6,6 +6,9 @@ const Tooltip: DirectiveOptions = {
|
||||
element.addEventListener('mouseenter', onEnterTooltip(element, binding));
|
||||
element.addEventListener('mouseleave', onLeaveTooltip());
|
||||
},
|
||||
unbind() {
|
||||
clearTimeout(tooltipTimer);
|
||||
}
|
||||
};
|
||||
|
||||
export default Tooltip;
|
||||
|
||||
Reference in New Issue
Block a user