Popover

The dxPopover is a widget that shows notifications within a box with an arrow pointing to a specified UI element.

Included in: dx.phonejs.js, dx.webappjs.js, dx.all.js

You can create the widget using one of the following approaches.

  • jQuery
    Use the dxPopover jQuery plug-in.

    HTML
    <div id="popover"></div>
    <div id="targetElement"></div>
    JavaScript
    $("#popover").dxPopover({
        target: "#targetElement",
        showTitle: true,
        title: 'Popover title'
    });
  • Knockout
    Add a div element and apply the dxPopover binding to this element.

    HTML
    <div data-bind="dxPopover: {
        target: '#targetElement',
        showTitle: true,
        title: 'Popover title'
    }"></div>
  • AngularJS
    Add a div element and apply the dx-popover directive to this element.

    HTML
    <div dx-popover="{
        target: '#targetElement',
        showTitle: true,
        title: 'Popover title'
    }"></div>

Note that DevExtreme widgets require you to link the jQuery and Globalize libraries to your application. If you use the Knockout or AngularJS approach, the Knockout or AngularJS library is also required. For detailed information on linking these libraries to your project, refer to the Installation article.

You can find detailed information on the principles of working with the widget in the dxPopover section of the Overlay Widgets article.

View Demo

Watch Video

Show Example:
AngularJS
Knockout
jQuery

Configuration

An object defining configuration options for the dxPopover widget.

Methods

This section describes members used to manipulate the widget.

Events

This section describes events fired by this widget.