You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to render icons depending on strings with the icon names that I initiate the component with. Is it possible to import icons dynamically depending on a configuration set at runtime e.g. from a string? It seems like including fontawesome in a link tag doesn't render <i> tags in web components with their own shadow root (haven't tested without customElements: true).
The text was updated successfully, but these errors were encountered:
really sorry for the delay in replying - you can handle that in your application, keeping a map of string -> icon data like you're mentioning - the Icon will update when you change the data assigned to it
I am trying to render icons depending on strings with the icon names that I initiate the component with. Is it possible to import icons dynamically depending on a configuration set at runtime e.g. from a string? It seems like including fontawesome in a link tag doesn't render
<i>
tags in web components with their own shadow root (haven't tested without customElements: true).The text was updated successfully, but these errors were encountered: