gl-website-deployer/vendor/twbs/bootstrap/js/tests/integration/bundle.js

7 lines
226 B
JavaScript
Raw Permalink Normal View History

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