| OLD | NEW |
| 1 | 1 Polymer({ |
| 2 | 2 |
| 3 Polymer({ | |
| 4 | |
| 5 is: 'iron-icon', | 3 is: 'iron-icon', |
| 6 | 4 |
| 7 properties: { | 5 properties: { |
| 8 | 6 |
| 9 /** | 7 /** |
| 10 * The name of the icon to use. The name should be of the form: | 8 * The name of the icon to use. The name should be of the form: |
| 11 * `iconset_name:icon_name`. | 9 * `iconset_name:icon_name`. |
| 12 */ | 10 */ |
| 13 icon: { | 11 icon: { |
| 14 type: String, | 12 type: String, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 this._img = document.createElement('img'); | 76 this._img = document.createElement('img'); |
| 79 this._img.style.width = '100%'; | 77 this._img.style.width = '100%'; |
| 80 this._img.style.height = '100%'; | 78 this._img.style.height = '100%'; |
| 81 this._img.draggable = false; | 79 this._img.draggable = false; |
| 82 } | 80 } |
| 83 this._img.src = this.src; | 81 this._img.src = this.src; |
| 84 Polymer.dom(this.root).appendChild(this._img); | 82 Polymer.dom(this.root).appendChild(this._img); |
| 85 } | 83 } |
| 86 } | 84 } |
| 87 | 85 |
| 88 }); | 86 }); |
| 89 | |
| 90 | |
| OLD | NEW |