romanonatacha / dash_trich_components

trich.ai open source components library for Dash Plotly. Contribute!
https://romanonatacha.github.io/dash_trich_components/
MIT License
53 stars 6 forks source link

Card Link #20

Open firmai opened 3 years ago

firmai commented 3 years ago

Hi when using the following

card = dtc.Card(
            link='https://linkhere.com',
            image='image_path_here',
            title='Title text',
            description='Description text',
            badges=['Badge 1', 'Badge 2', 'Badge 3'],
            git='https://githublinkhere.com',
            dark=True
        )

Is there a way to force the link not to open in a new tab?

romanonatacha commented 3 years ago

@firmai please upgrade to the last release and you will have this feature, You just need to pass the argument: openNewTab=False default is true

for more details check the docs https://romanonatacha.github.io/dash_trich_components/

pip install dash-trich-components

or

pip install --upgrade dash-trich-components