Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: sky/examples/stocks/stock-arrow.sky

Issue 999873002: Move sky-*.sky into framework/elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: One missing Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/examples/stocks/stock.sky ('k') | sky/examples/stocks/stocks.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/sky-element.sky" /> 6 <import src="/sky/framework/elements/sky-element.sky" />
7 7
8 <sky-element attributes="change:number"> 8 <sky-element attributes="change:number">
9 <template> 9 <template>
10 <style> 10 <style>
11 :host { 11 :host {
12 width: 40px; 12 width: 40px;
13 height: 40px; 13 height: 40px;
14 display: flex; 14 display: flex;
15 align-items: center; 15 align-items: center;
16 justify-content: center; 16 justify-content: center;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 void changeChanged(double oldValue, double newValue) { 90 void changeChanged(double oldValue, double newValue) {
91 if (_arrow != null) 91 if (_arrow != null)
92 _updateArrow(newValue); 92 _updateArrow(newValue);
93 } 93 }
94 } 94 }
95 95
96 _init(script) => register(script, StockArrow); 96 _init(script) => register(script, StockArrow);
97 </script> 97 </script>
98 </sky-element> 98 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/stocks/stock.sky ('k') | sky/examples/stocks/stocks.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698