OLD | NEW |
1 iron-icons | |
2 ========= | |
3 | 1 |
4 ## Building | 2 <!--- |
5 Running `update-icons.sh` will checkout [material-design-icons](https://github.c
om/google/material-design-icons), reduce | 3 |
6 the fileset to 24px svgs, and compile the iconsets. | 4 This README is automatically generated from the comments in these files: |
| 5 iron-icons.html |
| 6 |
| 7 Edit those files, and our readme bot will duplicate them over here! |
| 8 Edit this file, and the bot will squash your changes :) |
| 9 |
| 10 --> |
| 11 |
| 12 [](https://travis-ci.org/PolymerElements/iron-icons) |
| 13 |
| 14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-icons)_ |
| 15 |
| 16 |
| 17 ##<iron-icons> |
| 18 |
| 19 |
| 20 `iron-icons` is a utility import that includes the definition for the `iron-icon
` element, `iron-iconset-svg` element, as well as an import for the default icon
set. |
| 21 |
| 22 The `iron-icons` directory also includes imports for additional icon sets that c
an be loaded into your project. |
| 23 |
| 24 Example loading icon set: |
| 25 |
| 26 <link rel="import" href="../iron-icons/maps-icons.html"> |
| 27 |
| 28 To use an icon from one of these sets, first prefix your `iron-icon` with the ic
on set name, followed by a colon, ":", and then the icon id. |
| 29 |
| 30 Example using the directions-bus icon from the maps icon set: |
| 31 |
| 32 <iron-icon icon="maps:directions-bus"></iron-icon> |
| 33 |
| 34 |
| 35 See [iron-icon](#iron-icon) for more information about working with icons. |
| 36 |
| 37 See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for
more information about how to create a custom iconset. |
| 38 |
| 39 |
OLD | NEW |