The popover will show on the right side of the element by default. To position the popover on the top, bottom, left, or right side of the element, use the data-placement attribute.
When you click on the element again, the popover closes by default. However, the data-trigger=”focus” attribute can be used to close the popover when the user clicks outside the element.
Use the data-trigger attribute with the value “hover” if you want the popover to appear when you move the mouse cursor over the element.
Leave a Reply