[FR] Implement desplit.
hifall opened this issue · comments
Desplit means quitting the split mode, and having one of the panes occupy full area of the parent.
Something like this:
$(...).desplit();
When this is called, the staying pane completely fills the parent, while the splitter and the other pane disappears. Also, calling split() again toggles the split mode back on.
There is destroy, it seems that I've forget to add info about methods to Readme.
var split = $('selector').split({/* ... */});
split.destroy();
or if you don't have ref to splitter you can use:
$('selector').split().destroy();