site-web-le-plus-beau-des-v.../bootstrap/js/tests/integration/bundle.js

7 lines
226 B
JavaScript
Raw Normal View History

2024-05-01 12:45:11 +02:00
import { Tooltip } from '../../../dist/js/bootstrap.esm.js'
window.addEventListener('load', () => {
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
.map(tooltipNode => new Tooltip(tooltipNode))
})