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/framework/material-element.sky" /> | 6 <import src="/sky/framework/elements/material-element.sky" /> |
7 <import src="/sky/framework/sky-element.sky" /> | 7 <import src="/sky/framework/elements/sky-element.sky" /> |
8 <import src="stock-arrow.sky" /> | 8 <import src="stock-arrow.sky" /> |
9 | 9 |
10 <sky-element> | 10 <sky-element> |
11 <template> | 11 <template> |
12 <style> | 12 <style> |
13 :host { | 13 :host { |
14 // TODO(eseidel): Why does setting height here make this too big? | 14 // TODO(eseidel): Why does setting height here make this too big? |
15 // height: 48px; | 15 // height: 48px; |
16 max-height: 48px; | 16 max-height: 48px; |
17 display: flex; | 17 display: flex; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 change.textContent = changeString; | 63 change.textContent = changeString; |
64 | 64 |
65 StockArrow arrow = shadowRoot.getElementById('arrow'); | 65 StockArrow arrow = shadowRoot.getElementById('arrow'); |
66 arrow.change = model.percentChange; | 66 arrow.change = model.percentChange; |
67 } | 67 } |
68 } | 68 } |
69 | 69 |
70 _init(script) => register(script, Stock); | 70 _init(script) => register(script, Stock); |
71 </script> | 71 </script> |
72 </sky-element> | 72 </sky-element> |
OLD | NEW |