Javascript – Bootstrap 5 Popover-Set Content Dynamically from Async Function
I'm trying to load a bootstrap 5 popover with dynamic content from an asynchronous function in which I have to wait for. I'm setting up my popover as so: document.querySelectorAll('[data-bs-toggle="popover"]').forEach(function (popover) { new bootstrap.Popover(popover, { content: function () { (async…