I want to capture the click even from metric objects or subtitle object

Hi geniuses, is there a way to capture the click even from metrics objects or subtitle objects?

I donโ€™t think that would doable with the built in streamlit metric or subtitle objects. Streamlit consider those objects to be not interactive. I think you might be able to deal with this by using custom components though. Create a Component - Streamlit Docs

wow! Thank you! Let me study with it first!

Do you know if thereโ€™s a streamlit component that I can pass other components in and the new components will be the one can capture click events, like a button.

Hey @Oswald_Zhao_Yang , sadly there is not :frowning:

hahahaha okay! Thank you tho!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.