Skip to content

Commit 1ab1867

Browse files
authored
refactor: tippy method to hide all tooltips (#596)
1 parent 6b81035 commit 1ab1867

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/assets/js/tippy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "tippy.js/dist/tippy.css";
22

3-
import tippy from "tippy.js";
3+
import tippy, { hideAll } from "tippy.js";
44

55
const visibleTooltips = [];
66

@@ -133,3 +133,4 @@ if (typeof Livewire !== "undefined") {
133133
}
134134

135135
window.tippy = tippy;
136+
window.hideAllTooltips = hideAll;

0 commit comments

Comments
 (0)