Skip to content
doubtly

1 answer

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.

codelikepro · 21 Aug 2022 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.