Skip to main content

No project description provided

Project description

Streamlit Iframe Auto Resize

Streamlit Iframe Auto Resize automatically resize an iframe to fit its content.

Installation

pip install streamlit-iframe-auto-resize

Usage

import streamlit as st

st.text_area("This is a text area (parent)")
st.markdown(
    """
    <style>
        header[data-testid="stHeader"] {
            display: None;
        }
        footer {display: none;}
    </style>""",
    unsafe_allow_html=True,
)

for i in range(100):
    st.text_area("This is a text area", key=f'{i}')

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

streamlit-iframe-autoresize-0.0.1.tar.gz (1.4 MB view details)

Uploaded Source

File details

Details for the file streamlit-iframe-autoresize-0.0.1.tar.gz.

File metadata

File hashes

Hashes for streamlit-iframe-autoresize-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2392904c9ef15c53ff77cce659d48794770fc333c79e60bb4a705b7f91d621bb
MD5 c291cc07ec5d3f1c4aed31f5c57e9b96
BLAKE2b-256 8c5d8b2b309fe7df81cbeedba0bfd926e7b48f31e1ce40439fddf598d9a01203

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