thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

Suggestion: Docking of unpinned panels #35

Open geoff-ellison opened 7 years ago

geoff-ellison commented 7 years ago

(posting here as requested by @arboshiki)

What an excellent plugin! This is great work, and very much appreciated.

There's a feature that I'd love to see: the ability to "dock" an unpinned panel to a given pre-set position of the viewport.

This could be exposed by having an option called "dock" and a method called "setDock", which could have the following values:

There could also be some helpful additional docks, such as:

It might also be a good idea to have an option to enforce a dock setting (lockDock?), so that a panel could not be resized on whichever sides that are docked.

Cheers

Geoff.