Edit this page

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) {
        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) {
    console.log(e.sender.element[0]);
});

popup.open();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy