0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-22 14:52:17 +01:00

10 lines
337 B
JavaScript
Raw Normal View History

import 'popper.js'
import bootstrap from '../../../dist/js/bootstrap'
2019-01-04 16:09:52 +02:00
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))
})