Streamlit zoom buttons component
Project description
Streamlit zoom-buttons component
Streamlit zoom buttons component
Installation instructions
pip install st-zoom-buttons
Usage instructions
import streamlit as st
from st_zoom_buttons import st_zoom_buttons
clicked_button = st_zoom_buttons()
st.write(f"Clicked: {clicked_button}")
Function interface
def st_zoom_buttons(
key=None,
font_size="10px",
width="35px",
border_radius: int = 0,
title: str = "",
disabled: list[str] | None = None,
on_zoom_in: Optional[Callable[[], None]] = None,
on_zoom_out: Optional[Callable[[], None]] = None,
on_zoom_reset: Optional[Callable[[], None]] = None,
) -> str:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
st_zoom_buttons-0.0.5rc1.tar.gz
(275.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters