oliverbooth.dev/src/ts/app.ts

7 lines
182 B
TypeScript

declare const bootstrap: any;
(() => {
const list = document.querySelectorAll('[data-bs-toggle="tooltip"]');
list.forEach((el: Element) => new bootstrap.Tooltip(el));
})();