OLD | NEW |
1 <!-- | 1 <!-- |
2 // Copyright 2015 The Chromium Authors. All rights reserved. | 2 // Copyright 2015 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 --> | 5 --> |
6 <import src="sky-element.sky" /> | 6 <import src="sky-element.sky" /> |
7 | 7 |
8 <sky-element attributes="type:string, size:number"> | 8 <sky-element attributes="type:string, size:number"> |
9 <template> | 9 <template> |
10 <img /> | 10 <img /> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 if (_img != null) { | 48 if (_img != null) { |
49 _setSize(newValue.floor()); | 49 _setSize(newValue.floor()); |
50 _setSrc(type, newValue.floor()); | 50 _setSrc(type, newValue.floor()); |
51 } | 51 } |
52 } | 52 } |
53 } | 53 } |
54 | 54 |
55 _init(script) => register(script, SkyIcon); | 55 _init(script) => register(script, SkyIcon); |
56 </script> | 56 </script> |
57 </sky-element> | 57 </sky-element> |
OLD | NEW |