Add possibility to have HTML code in <wa-details>
#84
Closed
HovKlan-DH
started this conversation in
Ideas
Replies: 2 comments
-
this is what the <wa-details>
<div slot="summary">
This is <b>bold</b> text + Font Awesome icon <i class='fa-solid fa-house'></i>
</div>
</wa-details> |
Beta Was this translation helpful? Give feedback.
0 replies
-
Aha, yes I can see this is working fine. Sorry, I don't know how this "slot"-thing is working, and this is one of the places where the documentation and its examples could be updated, so we can learn by examples. I am sure this will come one day in the future though (and I agree that the most important thing for now is not documentation) 😁 Thanks a lot. |
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
-
I really would love to have the option to style the
<wa-details>
to something like this:<wa-details summary="This is <b>bold</b> text + Font Awesome icon <i class='fa-solid fa-house'></i>">
As-of now it looks like this (not opened) and the the HTML code is shown as text:
Beta Was this translation helpful? Give feedback.
All reactions