0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/js/tests/integration/bundle.js

7 lines
226 B
JavaScript
Raw Normal View History

import { Tooltip } from '../../../dist/js/bootstrap.esm.js'
2019-01-04 15:09:52 +01:00
window.addEventListener('load', () => {
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
2019-03-01 10:11:41 +01:00
.map(tooltipNode => new Tooltip(tooltipNode))
})