jupyter-widgets / jupyterlab-sidecar

A sidecar output widget for JupyterLab
BSD 3-Clause "New" or "Revised" License
247 stars 39 forks source link

Add ability to run function upon exiting the sidecar #37

Open elvinlemmens opened 4 years ago

elvinlemmens commented 4 years ago

It would be nice if there was some way to run a cleanup function on the sidecar when the user presses the x button or when the close() function is run.