How to delete dom elements using streamlit

Hi Wanted to delete the dom element completely before reloading it, is there any way to do so.

Hi @mrityunjay,

Thanks for posting!

As far as I’m aware, the only way to do this would be via JavaScript with a custom component.

Caroline :balloon: