Click to New Tab
Creates text with a link embedded
Input variables:
title: str
background_url: strAnd accepts the following input variable as optional:
href: Optional[str]Example of use:
s.plt.html(
order=0,
html=s.html_components.button_click_to_new_tab(
title='Churn prediction & Explainability',
background_url='https://cutt.ly/qJANGcX'
)
)
cols_size=12) of the component is clickable and will take you to a new window.You can resize, change position and text at will, for example:
s.plt.html(
order=0, cols_size=5, padding='1,0,0,6',
html=s.html_components.button_click_to_new_tab(
title='Churn prediction & Explainability',
background_url='https://cutt.ly/qJANGcX'
)
)
padding='1,0,0,6', it has a new position. The order of spaces is Top, Right, Bottom, Left.More on how to use the Grid.
Video demonstration
Last updated
Was this helpful?