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

8 lines
243 B
JavaScript
Raw Normal View History

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