OLD | NEW |
| (Empty) |
1 | |
2 <!--- | |
3 | |
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 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 | |
13 --> | |
14 | |
15 [](https://travis-ci.org/PolymerElements/iron-icons) | |
16 | |
17 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-icons)_ | |
18 | |
19 | |
20 ##<iron-icons> | |
21 | |
22 `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. | |
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 |