Edit this page

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) {
    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) {
  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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy