1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-24 03:40:10 +00:00

8 lines
234 B
JavaScript
Raw Normal View History

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