Popup

The dxPopup widget is a pop-up window overlaying the current view.

Included in: dx.phonejs.js, dx.webappjs.js, dx.all.js
Popup interactive configuration
Copy Code
Copy to Codepen
$("#popup").dxPopup({
});

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

  • jQuery
    Use the dxPopup jQuery plug-in.

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

    HTML
    <div data-bind="dxPopup: {
        showTitle: true,
        title: 'Popup title'
    }"></div>
  • AngularJS
    Add a div element and apply the dx-popup directive to this element.

    HTML
    <div dx-popup="{
        showTitle: true,
        title: 'Popup 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 dxPopup section of the Overlay Widgets article.

View Demo

Show Example:
AngularJS
Knockout
jQuery

Configuration

An object defining configuration options for the dxPopup widget.

Methods

This section describes methods used to manipulate the widget.

Events

This section describes events fired by this widget.