mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
8 lines
236 B
JavaScript
8 lines
236 B
JavaScript
import Tooltip from '../../dist/tooltip'
|
|
import '../../dist/carousel'
|
|
|
|
window.addEventListener('load', () => {
|
|
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
|
|
.map(tooltipNode => new Tooltip(tooltipNode))
|
|
})
|