Skip to main content

Get current screen width when screen size changes

Project description

Streamlit Screen Width Detector

Get current screen width when screen size changes

Usage

Installation:

uv add st-screenwidth-detector

Get current screen width dynamically(trigger app rerun) when screen size changes:

from st_screenwidth_detector import screenwidth_detector

st.write("screen width:", screenwidth_detector())

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

st_screenwidth_detector-0.1.4.tar.gz (48.0 kB view details)

Uploaded Source

Built Distribution

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

st_screenwidth_detector-0.1.4-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

Details for the file st_screenwidth_detector-0.1.4.tar.gz.

File metadata

File hashes

Hashes for st_screenwidth_detector-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2f55b8ea3bc249dac6c2ec6dc74f1cf2425a1e92b066ef151e5b83dac46108d2
MD5 2a1eb15bd97de2128fa76888a56ab780
BLAKE2b-256 e35fb845040da26002dd0ebb49774f879efa27453b9ed8e3224bc3dcf6034b58

See more details on using hashes here.

File details

Details for the file st_screenwidth_detector-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for st_screenwidth_detector-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a3a54b5721b34128f3b7fbb884a0d7f65666b03e876bea81fd21f2513e304b73
MD5 5159164f2b4ddcac537d0220b30f4d21
BLAKE2b-256 1cdb2edb37bb4e3d97f9a5aab173041c6c0c0bcb66429b29ad4f2f429fb3645a

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