Checklist
Summary
We have a use case where we would like to take action on the server when the user clicks a hyperlink, which in this case would be rendered as a st.link_button. Would it be possible to add an on_click parameter similar to that in st.button and st.download_button?
Why?
In our case, we want to mark a result as having been read by the user whenever they access it via hyperlink. Our Streamlit application highlights already read results.
How?
Add an on_click parameter to st.link_button that is given a function to call when the widget is clicked, similar to what st.button and st.download_button already have.
Additional Context
No response
Checklist
Summary
We have a use case where we would like to take action on the server when the user clicks a hyperlink, which in this case would be rendered as a
st.link_button. Would it be possible to add anon_clickparameter similar to that inst.buttonandst.download_button?Why?
In our case, we want to mark a result as having been read by the user whenever they access it via hyperlink. Our Streamlit application highlights already read results.
How?
Add an
on_clickparameter tost.link_buttonthat is given a function to call when the widget is clicked, similar to whatst.buttonandst.download_buttonalready have.Additional Context
No response