layoutChange

This event is now obsolete and will be removed in the future. Please use the resize event instead.

Fires when the splitter layout has changed

Example - subscribe to the "layoutChange" event during initialization

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

Example - subscribe to the "layoutChange" event after initialization

<div id="splitter">
  <div>Pane A</div>
  <div>Pane B</div>
</div>
<script>
function splitter_layoutChange(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log("Splitter layout has changed");
}
$("#splitter").kendoSplitter({
  panes: [ { collapsible: true }, {} ]
});
var splitter = $("#splitter").data("kendoSplitter");
splitter.bind("layoutChange", splitter_layoutChange);
</script>
In this article