javascript - Can I use complex HTML with Twitter Bootstrap's Tooltip? - Stack Overflow

PHOTO EMBED

Fri Jan 14 2022 11:09:57 GMT+0000 (UTC)

Saved by @cecisalof #html #bootstrap #vue

// setup tools tips trigger
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
const tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
     return new Tooltip(tooltipTriggerEl, {
           html: true // <- this should do the trick!
     })
});
content_copyCOPY

https://stackoverflow.com/questions/13704789/can-i-use-complex-html-with-twitter-bootstraps-tooltip