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

8 lines
226 B
JavaScript
Raw Normal View History

2019-10-02 14:32:29 +02:00
import 'popper.js'
import Tooltip from '../../dist/tooltip'
window.addEventListener('load', () => {
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
2019-10-02 14:32:29 +02:00
.map(tooltipNode => new Tooltip(tooltipNode))
})