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:
Metadata
Release files for st-zoom-buttons 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| st_zoom_buttons-0.0.4.tar.gz | 274.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| st_zoom_buttons-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 551.2 kB