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
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
md-icon: default icons like md-toggle-arrow are not displayed anymore #9336
What is the issue? *
In our application we use some of the default icons (e.g. md-close, md-toggle-arrow) in our HTML templates like <md-icon md-svg-icon="md-toggle-arrow"></md-icon>.
With Angular Material 1.1.0 (stable) the icons are not displayed anymore.
What is the expected behavior? The icons should be displayed as before.
I think this has changed since commit 9ce4f9e which does not add the icons to the registry anymore. Looks like they can only be accessed by injecting $$mdSvgRegistry and processing them programmatically. This would be very inconvenient in contrast to the simple usage with <md-icon>.
Activity
devversion commentedon Aug 18, 2016
Those icons are actually only for internal-use and shouldn't be used by developers using Angular Material.
oemmes commentedon Aug 18, 2016
It was nice having those icons by default as their SVG sources are loaded anyway. Just for 2 or 3 icons I don't want to load the whole icon font...
As a workaround the icons can still be registered manually like this and are then accessible with
<md-icon>as before:ThomasBurleson commentedon Aug 26, 2016
Will not fix.
Amedeo91 commentedon Jan 14, 2018
This is not nice as there are js modules that rely on those standard icons and people have to work around the angular material to have that work....