9 lines
305 B
JavaScript
9 lines
305 B
JavaScript
/* eslint-disable import/extensions, import/no-unassigned-import */
|
|
|
|
import Tooltip from '../../dist/tooltip'
|
|
import '../../dist/carousel'
|
|
|
|
window.addEventListener('load', () => {
|
|
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
|
|
.map(tooltipNode => new Tooltip(tooltipNode))
|
|
})
|