Skip to main content

A Dash Component that catches a the window close event and updates it's status. 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.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dwcl-1.0.3.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dwcl-1.0.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file dwcl-1.0.3.tar.gz.

File metadata

  • Download URL: dwcl-1.0.3.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210110 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for dwcl-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b590ae1ef2b551bac49ac0ee6ac31bc94dc0e80707e1f8f521fa24149e501c22
MD5 2a9d09c7ee969130b74d183c7455a85d
BLAKE2b-256 3331daad7689f029a96d49f91aee0558011c3c0e29a46d334b3751614f1e3520

See more details on using hashes here.

File details

Details for the file dwcl-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: dwcl-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210110 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for dwcl-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31f633187a0104082d109aa09f5ddc0fc1be22171b21badb8eebb868f61e0853
MD5 cf188377f331cce0bfa817d8b8f86e94
BLAKE2b-256 ac16130a44f77cc164e7e73a5435a47bc09a1abc78ca1e6602c9d85b7b41fb05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page