add example for stock header badge sparks to documentation #417
Closed
Mariusthvdb
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
Done. https://uix.lf.technology/forge/sparks/tooltip/#tooltip-on-a-badge |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
so I found the need for a tooltip on a badge, (which I had to reduce the size of, and thus can not show it's name/state in the badge)
showing as (right most circular badge):

figured I could show that name and state in a tooltip, so added the basic example from the documentation, and changed to hui-badge:
and the output was cool, but not what I wanted ;)
and then I realized there is no example for these header badges in the documentation?
so, I changed
mold: cardtomold: badge(as is documented ofc here https://uix.lf.technology/forge/forge/#sparks)resulting in the correct badge again, but no tooltip
and it was not until after deleting the 'for' that I saw the tooltip popup
is this the correct MO now for this type of spark?
if yes, maybe add an example to the docs for it, as I can see more than 1 user would benefit from that?
All reactions