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

Side by Side Diff: sky/examples/appish.sky

Issue 887793002: Implement PointerEvent#dx (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Another nit Created 5 years, 10 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/engine/public/platform/WebInputEvent.h ('k') | sky/examples/example-scaffold.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 #!mojo mojo:sky_viewer 1 #!mojo mojo:sky_viewer
2 <!-- 2 <!--
3 // Copyright 2015 The Chromium Authors. All rights reserved. 3 // Copyright 2015 The Chromium Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style license that can be 4 // Use of this source code is governed by a BSD-style license that can be
5 // found in the LICENSE file. 5 // found in the LICENSE file.
6 --> 6 -->
7 <sky> 7 <sky>
8 <import src="/sky/framework/sky-card.sky" />
8 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" /> 9 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" />
9 <import src="example-scaffold.sky" /> 10 <import src="example-scaffold.sky" />
10 11
11 <sky-element name="example-app"> 12 <sky-element name="example-app">
12 <template> 13 <template>
14 <style>
15 sky-card {
16 height: 250px;
17 }
18 </style>
13 <example-scaffold> 19 <example-scaffold>
14 <div class="title">Awesome app</div> 20 <div class="title">Awesome app</div>
15 <div class="menu">This is a menu</div> 21 <div class="menu">This is a menu</div>
16 <div class="body">This is an awesome app.</div> 22 <sky-card />
23 <sky-card />
24 <sky-card />
25 <sky-card />
17 </example-scrollable> 26 </example-scrollable>
18 </template> 27 </template>
19 <script> 28 <script>
20 module.exports = class extends SkyElement { 29 module.exports = class extends SkyElement {
21 }.register(); 30 }.register();
22 </script> 31 </script>
23 </sky-element> 32 </sky-element>
24 33
25 <example-app /> 34 <example-app />
26 </sky> 35 </sky>
OLDNEW
« no previous file with comments | « sky/engine/public/platform/WebInputEvent.h ('k') | sky/examples/example-scaffold.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698