summaryrefslogtreecommitdiffstats
path: root/js/tests/integration/bundle-modularity.js
blob: 8546141b195544fbed5a0ea23c5cdaa6005080f6 (plain)
1
2
3
4
5
6
7
import Tooltip from '../../dist/tooltip'
import '../../dist/carousel'

window.addEventListener('load', () => {
  [].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
    .map(tooltipNode => new Tooltip(tooltipNode))
})