mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
10 lines
337 B
JavaScript
10 lines
337 B
JavaScript
import 'popper.js'
|
|
import bootstrap from '../../../dist/js/bootstrap'
|
|
|
|
window.addEventListener('load', () => {
|
|
document.getElementById('resultUID').innerHTML = bootstrap.Util.getUID('bs')
|
|
|
|
bootstrap.Util.makeArray(document.querySelectorAll('[data-toggle="tooltip"]'))
|
|
.map((tooltipNode) => new bootstrap.Tooltip(tooltipNode))
|
|
})
|