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've been experimenting around lately with a nice API to add decorators (which uses mask(s) under the hood). I was at least able to add one (more is I guess easily possible, but my limited SVG knowledge stopped me there). Coming up with this API:
<FaIcon @icon='user' as |icon|>
<icon.decorator @icon='plus' @position='br' />
</FaIcon>
I've been experimenting around lately with a nice API to add decorators (which uses mask(s) under the hood). I was at least able to add one (more is I guess easily possible, but my limited SVG knowledge stopped me there). Coming up with this API:
I put this together in a gist: https://gist.github.com/gossi/9d4090dba409c047c267cfba877f7065
Multiple masks would I guess be a nice addition to FA-Core and and a new playground for those using the JS api. I hope you can push this idea upstream.
The text was updated successfully, but these errors were encountered: