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

8 lines
234 B
JavaScript

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