Complete example of popover usage #33744
Unanswered
mayur-ekbote
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I'm not sure if i really understand ur question, but u should already konw that popover in Bs5 still rely on a 3rd party library "Popper.js" ! And this piece of code will help to Initialize & Enable Popover on ur website.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Earlier, with jQuery, the use of popver was straightforward.
With jQuery no longer used, how does one use Popovers? Specifically if I am not using JS (pure HTML / Blazor)
What to do with the script provided in the document? Eg.
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
return new bootstrap.Popover(popoverTriggerEl)
})
A complete example would be of great help.
Beta Was this translation helpful? Give feedback.
All reactions