mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +01:00
10 lines
235 B
JavaScript
10 lines
235 B
JavaScript
import 'popper.js'
|
|
import {
|
|
Tooltip
|
|
} from '../../../dist/js/bootstrap.esm.js'
|
|
|
|
window.addEventListener('load', () => {
|
|
[...document.querySelectorAll('[data-toggle="tooltip"]')]
|
|
.map(tooltipNode => new Tooltip(tooltipNode))
|
|
})
|