close

Fired when the suggestion popup of the widget is closed by the user.

The event handler function context (available through the keyword this) will be set to the widget instance.

Event Data

e.sender kendo.ui.AutoComplete

The widget instance which fired the event.

Example - subscribe to the "close" event during initialization

<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
  dataSource: [ "Apples", "Oranges" ],
  close: function(e) {
    // handle the event
  }
});
</script>

Example - subscribe to the "close" event after initialization

<input id="autocomplete" />
<script>
function autocomplete_close(e) {
  // handle the event
}
$("#autocomplete").kendoAutoComplete({
  dataSource: [ "Apples", "Oranges" ]
});
var autocomplete = $("#autocomplete").data("kendoAutoComplete");
autocomplete.bind("close", autocomplete_close);
</script>
In this article