mirror of
https://github.com/Templarian/MaterialDesign.git
synced 2026-03-04 23:54:07 +01:00
Angular Material.
This commit is contained in:
@@ -114,6 +114,21 @@ Android uses the Vector Drawable format that is similar to SVG. Right click any
|
||||
|
||||
Windows uses the vector XAML format. Right click any icon on the site and click the "View XAML" item in the context menu.
|
||||
|
||||
## Angular Material @download(Download for Angular Material v1 'mdi.svg', /api/download/angularmaterial/38EF63D0-4744-11E4-B3CF-842B2B6CFE1B)
|
||||
|
||||
The `mdi.svg` contains all the icons provided on the site. Use inline with [$mdIconProvider](https://material.angularjs.org/latest/api/service/$mdIconProvider).
|
||||
|
||||
```javascript Configure
|
||||
app.config(function($mdIconProvider) {
|
||||
$mdIconProvider
|
||||
.defaultIconSet('my/app/mdi.svg')
|
||||
});
|
||||
```
|
||||
|
||||
```html Example Usage
|
||||
<md-icon>android</md-icon>
|
||||
```
|
||||
|
||||
## Polymer @download(Download for Polymer v0.5 'mdi.html', /api/download/polymer/38EF63D0-4744-11E4-B3CF-842B2B6CFE1B) @download(Download for Polymer v1.0 'mdi.html', /api/download/polymer/v1/38EF63D0-4744-11E4-B3CF-842B2B6CFE1B)
|
||||
|
||||
The `mdi.html` contains all the icons provided on the site. Use inline with the following code.
|
||||
|
||||
Reference in New Issue
Block a user