The popover is an attribute of bootstrap that can be used to make any website look more dynamic. Popovers are generally used to display additional information about any element and are displayed on click of mouse pointer over that element.
The data-toggle = “popover” attribute is used to create popover, title=”popover-title” attribute is used to add the title of popover and data-content=”popover-content” is used to add the popover content.
<element data-toggle="popover" title="popover-title" data-content="popover-content"> popover element <element>
Positioning popovers: The data-placement attribute is used to set the positioning of popover elements. The position of popover element can be set to top, bottom, left or right side of the element.
Closing popovers: By default, the popover elements are closed when mouse click on double. The data-trigger=”focus” attribute is used to close the popover element when mouse clicked outside of the element.
Popover hover: The data-trigger=”hover” attribute is used to create popover hover effect. In this case, the popup will display when the mouse moves over.
- How to position a Bootstrap popover ?
- How to make Bootstrap popover appear/disappear on hover instead of click?
- How to use a div as content for Twitter's Popover?
- Include Bootstrap in AngularJS using ng-bootstrap
- Difference between bootstrap.css and bootstrap-theme.css
- Difference between Bootstrap 4 and Bootstrap 5
- Difference Between Bootstrap 3 and Bootstrap 4
- What's new in Bootstrap v4.3 ?
- Bootstrap | Tables | Set-2
- Bootstrap 4 | Dropdowns
- Bootstrap | Tables | Set-1
- Bootstrap 4 | Navs
- Bootstrap 4 | Modal
- Bootstrap 4 | Nav-pills
- Bootstrap 4 | Inputs
- Bootstrap 4 | Pagination
- Bootstrap 5 | Card
- Bootstrap | Scrollspy
- Bootstrap 4 | Introduction
- Bootstrap 4 | Typography
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.