df_ai_int / helper /button_behaviour.py
Ronio Jerico Roque
Feat: Added Website traffic, social media, and website performance category on the UI
13e4835
raw
history blame contribute delete
559 Bytes
import streamlit as st
def hide_button():
st.markdown(
"""
<style>
.element-container:nth-of-type(5) button {
display: none;
}
</style>
""",
unsafe_allow_html=True,
)
def unhide_button():
st.markdown(
"""
<style>
element-container:nth-of-type(5) button {
display: inline;
}
</style>
""",
unsafe_allow_html=True,
)