Useful for automatically splitting the major dimension of a screen/view, for example. Especially handy for supporting tablet orientation change. Or, add an orientation() or setConfig() method, to support horizontal/vertical toggle via script.
An option should be added to size the splitter to ensure inner content is displayed rather than having scrollbars inside the panes. A key reason for this is when loading/displaying dynamic data via ajax, you don't know what the height might be to display it...so once you have loaded, you need to set splitter height to height of pane containing the content. ATM I achieve this via the following approach: http://www.backalleycoder.com/2013/03/18/cross-browser-event-based-element-resize-detection/ But would be nice to have integrated into splitter itself..
It would be useful if there were enable/disable methods for the splitter (so that when the splitter is disabled window resize won't trigger splitter resize).
I have a html widget which have some logic that should happen when the widget is re-sized. This widget could be placed in a splitter pane or could be place alone. It doesn't care what it's container is so I need the splitter to trigger window resize and so the widget will be notified. At least I want to have an value in the spleiter resize event which tells me if the splitter resize was triggered by window resize or user dragging it.
Live resize option on a splitter so the content scales as I move the bar, not just show me the ghost handle Depending on the content this obviously could be laggy...but let me worry about where I use it :D