Skip to content
/ dwcl Public

A Dash Component that catches a the window close event and updates its status property. This can be used to stop the Dash server when the user closes his window, which is useful when using Dash apps as part of a multi step a workflow.

License

Notifications You must be signed in to change notification settings

raymon-ai/dwcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DashWindowCloseListener

DashWindowCloseListener is a Dash component library that allows you to listen to the browser window close event. This can be used to stop the Dash server when the user closes his window, which is useful when using Dash apps as part of a multi step a workflow.

This is illustrated in the following example:

Get started with:

  1. Install Dash and its dependencies: pip install -r requirements.txt(https://dash.plotly.com/installation)
  2. Run python usage.py
  3. Visit http://localhost:8050 in your web browser
  4. When closing the browser window, the dash server will stop.

Contributing

See CONTRIBUTING.md

About

A Dash Component that catches a the window close event and updates its status property. This can be used to stop the Dash server when the user closes his window, which is useful when using Dash apps as part of a multi step a workflow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published