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 hashes)

Uploaded Source

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