Create a new
MultiSplitPane rooted in empty DOM element
el. Supported options:
scheduleRender: called the split pane needs to redraw its internal structure. Callback receives a single function which it can either invoke immediately or schedule to call with e.g.
onPaneResize: a function that will be called when panes are resized
detachWidget: callback functions for attaching/detaching child widgets added to the split pane. Signature is
(parentElement, widget). Default is to assume
widgetis a DOM element and perform e.g.
setWidgetBounds: callback function used to resize a widget; signature is
(widget, x, y, width, height). Default is to assume
widgetis a DOM element and set its dimensions directly.
Schedule a layout operation. Use the
scheduleRender constructor operation to control when layout actually occurs.
Layout the split pane immediately. It's not normally necessary to call this function manually.
orientation is one of
split-pane class can be substituted by whatever you want; it is not set by the constructor.
Released under the ISC license.