close

Fires when the popup is closed

Event Data

e.sender kendo.ui.TimeDurationPicker

The widget instance which fired the event.

Example - subscribe to the "close" event during initialization

<input id="timedurationpicker" />
<script>
$("#timedurationpicker").kendoTimeDurationPicker({
    columns: [ "hours", "minutes" ],
    close: function(e) {
        e.preventDefault(); //prevent popup closing
    }
});
</script>

Example - subscribe to the "close" event after initialization

<input id="picker" />
<script>
$("#picker").kendoTimeDurationPicker({ columns: [ "hours", "minutes" ] });

var picker = $("#picker").data("kendoTimeDurationPicker");

picker.bind("close", function(e) {
    e.preventDefault(); //prevent popup closing
});
</script>
In this article