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