Skip to content
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

Dynamic load icons #44

Closed
AmirHosseinKarimi opened this issue May 3, 2020 · 1 comment
Closed

Dynamic load icons #44

AmirHosseinKarimi opened this issue May 3, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@AmirHosseinKarimi
Copy link

I want to load icons which get icon names from server, is there any way to load/import them dynamically?

For example the user select the icon of a menu item or enter the name of icon.

@Templarian
Copy link
Owner

You would need to read the meta.json file from https://github.com/Templarian/MaterialDesign-SVG or @mdi/svg package (also stored on the CDN in the root).

Duplicate of #34, please use this issue for further discussion.

The new website under development uses indexedDB solution for rapid loading/storage of icon data and searching. We will be open sourcing this when the site launches. For now there is no pre-made solution.

@Templarian Templarian added the duplicate This issue or pull request already exists label May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants