6 lines
226 B
JavaScript
6 lines
226 B
JavaScript
import { Tooltip } from '../../../dist/js/bootstrap.esm.js'
|
|
|
|
window.addEventListener('load', () => {
|
|
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
|
|
.map(tooltipNode => new Tooltip(tooltipNode))
|
|
})
|