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

Side by Side Diff: sky/examples/example-element/index.sky

Issue 950493003: Add a basic sky-element custom element (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
OLDNEW
1 #!mojo mojo:sky_viewer
2 <!-- 1 <!--
3 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Copyright 2015 The Chromium Authors. All rights reserved.
4 // 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
5 // found in the LICENSE file. 4 // found in the LICENSE file.
6 --> 5 -->
7 <sky> 6 <sky>
8 <import src="color-picker.sky" /> 7 <import src="example-element.sky" />
9 <color-picker /> 8 <style>
9 example {
10 border: 1px solid blue;
11 width: 100px;
12 height: 100px;
13 }
14 </style>
15 <example />
10 </sky> 16 </sky>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698