![]() |
VOOZH | about |
Bootstrap 5 popoverdisable() method is used to disable the element’s popover to be displayed. Popover can only be displayed when it is enabled with the help of the required method.
Syntax:
popover.disable() Return Value: This method disables the element’s popover to be displayed
Let us understand more about this using example
Example 1: In this example, we will learn about disable() method.
Output:
Example 2: In this example, we will see the working of disable() method. When we will disable a popover, it will not appear.
Output:
Reference: https://getbootstrap.com/docs/5.0/components/popovers/#disable