-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use svg paths from @mdi/js #60
Comments
Here wat I have done, if anyone interested, but I continue hoping for a better solution.
Hope it helps |
Simplified and made more elegant. I created a component that define the needed SVG symbols
Hope it helps. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the component!
I'm using the function call to build the menu on right button click.
With the menu builder:
This works perfectly for text only menu, but I don't know how to use one of the icons from the
@mdi/js
packages to decorate the entry.From a previous attempt with a custom solution I created the SVG string with:
Using it, for example:
How could use this string instead of the symbol mechanism that I'm not been able to make it work.
Thanks!
mario
The text was updated successfully, but these errors were encountered: