cmsmanage/dashboard/js/dashboard.ts

9 lines
225 B
TypeScript
Raw Normal View History

2024-07-22 19:02:17 -04:00
import { Tooltip } from "bootstrap";
2024-07-23 00:01:29 -04:00
2024-07-22 19:02:17 -04:00
const tooltipTriggerList = document.querySelectorAll(
'[data-bs-toggle="tooltip"]',
);
2024-07-23 00:01:29 -04:00
for (const tooltipTriggerElement of tooltipTriggerList) {
new Tooltip(tooltipTriggerElement);
2024-07-22 19:02:17 -04:00
}