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

Unified Diff: sky/examples/appish.sky

Issue 886723002: Add sky-drawer to the framework (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nit Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/examples/example-scaffold.sky » ('j') | sky/framework/animation/controller.sky » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/appish.sky
diff --git a/sky/examples/appish.sky b/sky/examples/appish.sky
new file mode 100644
index 0000000000000000000000000000000000000000..e2c1d777747e2304d1f3b0cf3880a16080fd7c24
--- /dev/null
+++ b/sky/examples/appish.sky
@@ -0,0 +1,26 @@
+#!mojo mojo:sky_viewer
+<!--
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+-->
+<sky>
+<import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" />
+<import src="example-scaffold.sky" />
+
+<sky-element name="example-app">
+<template>
+ <example-scaffold>
+ <div class="title">Awesome app</div>
+ <div class="menu">This is a menu</div>
+ <div class="body">This is an awesome app.</div>
+ </example-scrollable>
+</template>
+<script>
+module.exports = class extends SkyElement {
+}.register();
+</script>
+</sky-element>
+
+<example-app />
+</sky>
« no previous file with comments | « no previous file | sky/examples/example-scaffold.sky » ('j') | sky/framework/animation/controller.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698