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

Unified Diff: sky/examples/example-scrollable.sky

Issue 950603002: Port sky-scrollable to Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: less setAttributes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/data/cities.sky ('k') | sky/examples/example-scrollable/example-scrollable.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/example-scrollable.sky
diff --git a/sky/examples/example-scrollable.sky b/sky/examples/example-scrollable.sky
deleted file mode 100644
index cd5e60f91f67eb9c5558a9e48af88f27ca7f1f1a..0000000000000000000000000000000000000000
--- a/sky/examples/example-scrollable.sky
+++ /dev/null
@@ -1,43 +0,0 @@
-#!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="/sky/framework/sky-scrollable.sky" />
-<import src="data/cities.sky" as="cities" />
-
-<sky-element name="example-scrollable">
-<template>
- <style>
- sky-scrollable {
- margin: 20px;
- height: 400px;
- border: 2px solid blue;
- }
- b {
- display: inline;
- font-weight: bold;
- }
- </style>
- <sky-scrollable>
- <template repeat="{{ cities }}">
- <template>
- <div>{{ name }}</div>
- </template>
- </template>
- </sky-scrollable>
-</template>
-<script>
-module.exports = class extends SkyElement {
- created() {
- this.cities = cities.slice(0, 300);
- }
-}.register();
-</script>
-</sky-element>
-
-<example-scrollable />
-</sky>
« no previous file with comments | « sky/examples/data/cities.sky ('k') | sky/examples/example-scrollable/example-scrollable.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698