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

8 lines
214 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', () => {
[...document.querySelectorAll('[data-toggle="tooltip"]')]
.map(tooltipNode => new Tooltip(tooltipNode))
})