mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-13 01:08:58 +01:00
418f17ee2b
- Add `bs` in data APIs everywhere - Update unit tests
8 lines
217 B
JavaScript
8 lines
217 B
JavaScript
import 'popper.js'
|
|
import Tooltip from '../../dist/tooltip'
|
|
|
|
window.addEventListener('load', () => {
|
|
[...document.querySelectorAll('[data-bs-toggle="tooltip"]')]
|
|
.map(tooltipNode => new Tooltip(tooltipNode))
|
|
})
|