New to Kendo UI for jQuery? Start a free 30-day trial

Complete

events

Fired when the animation during collapse/expand is completed.

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

<div id="expansionPanel">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</div>
<script>
    $("#expansionPanel").kendoExpansionPanel({
        title: "Lorem ipsum",
      	complete: function(e) {
          /* The result can be observed in the DevTools(F12) console of the browser. */
            console.log("complete has been fired");
        }
    });
</script>
<div id="expansionPanel">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</div>
<script>
  $("#expansionPanel").kendoExpansionPanel({
    title: "Lorem ipsum"
  });

  var expansionPanel = $("#expansionPanel").data("kendoExpansionPanel");
  expansionPanel.bind("complete", expansionPanelComplete);

  function expansionPanelComplete() {
    /* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("complete has been fired");
  }
</script>
Not finding the help you need?
Contact Support