activate

Fires when the popup is opened

Event Data

e.sender kendo.ui.Popup

The widget instance which fired the event.

Example - subscribe to the "activate" event during initialization

<div id="popup">CONTENT</div>
<script>
$("#popup").kendoPopup({
    activate: 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 "activate" event after initialization

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

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

popup.bind("activate", 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