expand

Triggered when a pane of a Splitter is expanded.

Event Data

e.pane Element

The expanding pane of the Splitter.

Example - subscribe to the "expand" event during initialization

<div id="splitter">
  <div>Pane A</div>
  <div>Pane B</div>
</div>
<script>
$("#splitter").kendoSplitter({
  panes: [ { collapsible: true, collapsed: true}, {} ],
  expand: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log($(e.pane).html() + " has been expanded");
  }
});
</script>

Example - subscribe to the "expand" event after initialization

<div id="splitter">
  <div>Pane A</div>
  <div>Pane B</div>
</div>
<script>
function splitter_expand(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log($(e.pane).html() + " has been expanded");
}
$("#splitter").kendoSplitter({
  panes: [ { collapsible: true, collapsed: true }, {} ]
});
var splitter = $("#splitter").data("kendoSplitter");
splitter.bind("expand", splitter_expand);
</script>
In this article