OLD | NEW |
1 iron-icon | 1 iron-icon |
2 ========= | 2 ========= |
3 | 3 |
4 The `iron-icon` element displays an icon. By default an icon renders as a 24px s
quare. | 4 The `iron-icon` element displays an icon. By default an icon renders as a 24px s
quare. |
5 | 5 |
6 Example using src: | 6 Example using src: |
7 | 7 |
8 ```html | 8 ```html |
9 <iron-icon src="star.png"></iron-icon> | 9 <iron-icon src="star.png"></iron-icon> |
10 ``` | 10 ``` |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 Example of using an icon named `cherry` from a custom iconset with the ID `fruit
`: | 47 Example of using an icon named `cherry` from a custom iconset with the ID `fruit
`: |
48 | 48 |
49 ```html | 49 ```html |
50 <iron-icon icon="fruit:cherry"></iron-icon> | 50 <iron-icon icon="fruit:cherry"></iron-icon> |
51 ``` | 51 ``` |
52 | 52 |
53 See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for
more information about | 53 See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for
more information about |
54 how to create a custom iconset. | 54 how to create a custom iconset. |
55 | 55 |
56 See [iron-icons](http://www.polymer-project.org/components/iron-icons/demo.html)
for the default set of icons. | 56 See [iron-icons](http://www.polymer-project.org/components/iron-icons/demo.html)
for the default set of icons. |
OLD | NEW |