![]() |
VOOZH | about |
Bootstrap 5 Popovers show() method is used to open the popover manually. It will show the popover before the actual shown.bs.popoverevent occurs.
Syntax:
popover.show()
Return value: This method will manually trigger the elementโs popover to be displayed.
Example 1: In this example, we will learn about the Bootstrap 5 Popovers show() method.
Output:
Example 2: In this example, we will see the working of the show() and hide() methods.
Output:
Reference: https://getbootstrap.com/docs/5.0/components/popovers/#show