Linkable cards in StatsOverviewWidget
#1768
jacksleight
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
I agree! 1 + 3. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It's an interesting and good idea. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Agree! 1 + 2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just been working on a stats widget using
StatsOverviewWidget
and would like to be able to link each stat card to the associated resource list page.If you think this is a good idea I'm happy to work on a PR, but there are a few different ways it could be implemented:
url()
method on theCard
component that links the entire card somewheredescriptionUrl()
method on theCard
component that just links the description text/icon somewhereHtmlString
objects indescription()
and possiblylabel()
andvalue()
so links (or any custom HTML) could be added to thoseMaybe 1 + 3 would offer the most flexibility?
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions