OLD | NEW |
1 | 1 |
2 <!--- | 2 <!--- |
3 | 3 |
4 This README is automatically generated from the comments in these files: | 4 This README is automatically generated from the comments in these files: |
5 | 5 iron-icons.html |
6 | 6 |
7 Edit those files, and our readme bot will duplicate them over here! | 7 Edit those files, and our readme bot will duplicate them over here! |
8 Edit this file, and the bot will squash your changes :) | 8 Edit this file, and the bot will squash your changes :) |
9 | 9 |
| 10 The bot does some handling of markdown. Please file a bug if it does the wrong |
| 11 thing! https://github.com/PolymerLabs/tedium/issues |
| 12 |
10 --> | 13 --> |
11 | 14 |
12 [](https://travis-ci.org/PolymerElements/iron-icons) | 15 [](https://travis-ci.org/PolymerElements/iron-icons) |
13 | 16 |
14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-icons)_ | 17 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-icons)_ |
15 | 18 |
| 19 |
| 20 ##<iron-icons> |
| 21 |
| 22 `iron-icons` is a utitliy import that includes the definition for the `iron-icon
` element, `iron-iconset-svg` element, as well as an import for the default icon
set. |
| 23 |
| 24 The `iron-icons` directory also includes imports for additional icon sets that c
an be loaded into your project. |
| 25 |
| 26 Example loading icon set: |
| 27 |
| 28 ```html |
| 29 <link rel="import" href="../iron-icons/maps-icons.html"> |
| 30 ``` |
| 31 |
| 32 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. |
| 33 |
| 34 Example using the directions-bus icon from the maps icon set: |
| 35 |
| 36 ```html |
| 37 <iron-icon icon="maps:directions-bus"></iron-icon> |
| 38 ``` |
| 39 |
| 40 See [iron-icon](#iron-icon) for more information about working with icons. |
| 41 |
| 42 See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for
more information about how to create a custom iconset. |
| 43 |
| 44 |
OLD | NEW |