You found a bug! We've classified it as
DOCS-371
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Sencha User
Answered: Material Icons and Ext.theme.Material not documented
I was unable to find any documentation on how to use the material icons in the new material theme in the modern toolkit.
I was also unable to find Ext.theme.Material class documented anywhere.
-
Best Answer Posted by
greg.barry
Thanks for the report! I have opened an improvement request in our issue tracker.
-
-
Sencha User

Originally Posted by
Gary Schlosberg
Yes. It's a good starting point, but it leaves much to be desired such as how to use the new material icon font and what is available in the Ext.theme.Material class. I had to dig into the examples and framework code to find out how to use iconCls: 'md-icon-xxxx' with the icons from here.
-
Thanks for the report! I have opened an improvement request in our issue tracker.
-
Sencha Premium User
Still not documented -- but thank you for the find! For others trying to do the same, also note that you need to replace the "_" from the icon name as listed on the Material icons page with a "-". So for instance, if you wanted to use the Material "date_range" icon, you would set iconCls to "md-icon-date-range".
-
Sencha User
Still not documented.
I would like to use the icon in a <span> instead. This is possible with the font-awesome icons, but i cant figure out how to do the same with the material icons
-