Replies: 1 comment
-
You have to use -<HxIcon Class="red_text" Icon="JhIcon.AlignLeft"></HxIcon>
+<HxIcon CssClass="red_text" Icon="JhIcon.AlignLeft" /> |
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'm using Havit.Blazor V4.6.5
I have a custom icon and it works as expected when I don't add a css class to the
<HxIcon>
element.But when I do, the css class of my renderer root element is replaced instead of merged.
This works:
<HxIcon Icon="JhIcon.AlignLeft"></HxIcon>
and results in
<span class="jh_icon" b-yapvemezsy=""> ...
This doesn't:
<HxIcon Class="red_text" Icon="JhIcon.AlignLeft"></HxIcon>
and results in:
<span class="red_text" b-yapvemezsy=""> ...
But I would expect:
<span class="jh_icon red_text" b-yapvemezsy=""> ...
Here is my renderer component:
When I use a BootstrapIcon the same thing happens. class is replaced instead of merged and the icon disappears.
Thank you in advance,
Reinhard.
Beta Was this translation helpful? Give feedback.
All reactions