Skip to main content

Components for smartphones that detect screen rotation

Project description

Dash Rotate

Dash Rotate is a Dash component library. Components for smartphones that detect screen rotation.

Installation


$ pip install dash_alert

Properties


  • id (string)

  • orientation (string)

    Correct orientation of the screen. Valid only if reload is true or if a message is specified.

  • message (dash component)

    Message to be displayed in case of unintended screen orientation.

  • reload (bool; default: true)

    Reloading on screen rotation?

  • timing ("all" | "match"; default: "all")

    When to reload. "all": if the screen is rotated. "match": only if the screen is oriented correctly.

  • delay (int; default: 10)

    The time from the time the screen is rotated until it is reloaded (milliseconds).

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

dash_rotate-1.0.6.tar.gz (20.5 kB view details)

Uploaded Source

File details

Details for the file dash_rotate-1.0.6.tar.gz.

File metadata

  • Download URL: dash_rotate-1.0.6.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for dash_rotate-1.0.6.tar.gz
Algorithm Hash digest
SHA256 995ef25888d7ee60474360eececa5bf633d2852a3c534446ab7401b99ca64e92
MD5 a383686f5d8fce78c3a406735ee69b17
BLAKE2b-256 350c02ce0a73a5956b9ec9f3818b54a7fea97a6bef07a1c7c5aa7e52b6e9b47a

See more details on using hashes here.

Supported by

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