| OLD | NEW |
| (Empty) | |
| 1 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> |
| 4 |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 6 |
| 7 <!-- |
| 8 <iron-icon> that automatically displays one of the two icond depending on |
| 9 display resolution, |
| 10 |
| 11 Example: |
| 12 <hd-iron-icon icon1x="icons:wifi-1x" icon2x="icons:wifi-2x"></hd-iron-icon> |
| 13 |
| 14 Attributes: |
| 15 1x and 2x icons: |
| 16 'icon1x' - a name of icon from material design set to show on button. |
| 17 'icon2x' - a name of icon from material design set to show on button. |
| 18 --> |
| 19 <dom-module id="hd-iron-icon"> |
| 20 <link rel="stylesheet" href="hd-iron-icon.css"> |
| 21 <template> |
| 22 <div> |
| 23 <iron-icon id="icon1x" icon="[[icon1x]]"></iron-icon> |
| 24 <iron-icon id="icon2x" icon="[[icon2x]]"></iron-icon> |
| 25 </div> |
| 26 </template> |
| 27 </dom-module> |
| OLD | NEW |