9 lines
225 B
TypeScript
9 lines
225 B
TypeScript
import { Tooltip } from "bootstrap";
|
|
|
|
const tooltipTriggerList = document.querySelectorAll(
|
|
'[data-bs-toggle="tooltip"]',
|
|
);
|
|
for (const tooltipTriggerElement of tooltipTriggerList) {
|
|
new Tooltip(tooltipTriggerElement);
|
|
}
|