coderespawn / dock-spawn

Dock Spawn is a web based dock layout engine that aids in creating flexible user interfaces by enabling panels to be docked on the screen similar to Visual Studio IDE
http://dockspawn.com
MIT License
255 stars 76 forks source link

How can I catch the close event of a docking panel/window? #22

Open andreinicolae opened 9 years ago

andreinicolae commented 9 years ago

I would like to know if it is possinle to catch the "close" event of a panel. The idea is to put additional logic after a panel si closed.

jogibear9988 commented 5 years ago

dockManager.addLayoutListener({ onClosePanel: (dockmanager, panel) => { } })