Icons in <wa-details> #107
Answered
by
claviska
mirkocutri
asked this question in
Help & Support
-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
claviska
Dec 16, 2024
Replies: 1 comment
-
To provide HTML, you can use the <wa-details>
<span slot="summary">
<wa-icon name="check"></wa-icon>
Toggle me
</span>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</wa-details> Example: https://codepen.io/claviska/pen/yyBgMWJ?editors=1100 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mirkocutri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To provide HTML, you can use the
summary
slot in lieu of the attribute.Example: https://codepen.io/claviska/pen/yyBgMWJ?editors=1100