1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/js/tests/integration/bundle-modularity.js
2019-10-03 09:55:57 +02:00

7 lines
214 B
JavaScript

import 'popper.js'
import Tooltip from '../../dist/tooltip'
window.addEventListener('load', () => {
[...document.querySelectorAll('[data-toggle="tooltip"]')]
.map(tooltipNode => new Tooltip(tooltipNode))
})