deactivate

Fires when the popup is closed

Event Data

e.sender kendo.ui.Popup

The widget instance which fired the event.

Example - subscribe to the "deactivate" event during initialization

<div id="popup">CONTENT</div>
<script>
$("#popup").kendoPopup({
    deactivate: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log(e.sender.element[0]);
    }
}).data("kendoPopup").open();
</script>

Example - subscribe to the "deactivate" event after initialization

<div id="popup">CONTENT</div>
<script>
$("#popup").kendoPopup();

var popup = $("#popup").data("kendoPopup");

popup.bind("deactivate", function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(e.sender.element[0]);
});

popup.open();
</script>
In this article