What changed
New features
- Allow buttons with callbacks to switch pages
It updates the component frontend active page, when the selected
parameter from st_navbar
changes. This makes it possible to use an st.button
outside the navbar, to switch to a different page. Similar to what st.page_link
does, but using the recommended structure.
Demo app: https://st-navbar-mpa-button.streamlit.app
Full Changelog: 3.2.0...3.3.0