JavaScript/jQuery Popover - Overview
The Popover is a UI component that shows notifications within a box with an arrow pointing to a specified UI element.
The following code creates a simple Popover on your page and attaches it to another element (in this example, to an image).
The component may affect the page layout when used inside a flex container with other elements. For example, the following parent CSS styles can cause this issue:
- .flex {
- display: flex;
- justify-content: space-between;
- }
To avoid changes to the page layout, implement the following CSS styles for the Popover container:
- .dx-popover {
- display: none !important;
- }
There are several ways to specify the content of the Popover. Learn more in the Customize the Content article. The Popover can also be displayed with a title and toolbars. For detailed information, see the Customize the Title and Specify Toolbar Items topics.