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

Side by Side Diff: sky/examples/widgets/index.sky

Issue 789703007: Fix widgets demo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | 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 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 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 <sky> 6 <sky>
7 <import src="/sky/framework/sky-element/sky-element.sky"/> 7 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement"/>
8 <import src="/sky/framework/sky-button/sky-button.sky"/> 8 <import src="/sky/framework/sky-button/sky-button.sky"/>
9 <import src="/sky/framework/sky-box/sky-box.sky"/> 9 <import src="/sky/framework/sky-box/sky-box.sky"/>
10 <import src="/sky/framework/sky-checkbox/sky-checkbox.sky"/> 10 <import src="/sky/framework/sky-checkbox/sky-checkbox.sky"/>
11 <import src="/sky/framework/sky-radio/sky-radio.sky"/> 11 <import src="/sky/framework/sky-radio/sky-radio.sky"/>
12 <sky-element name="widget-root"> 12 <sky-element name="widget-root">
13 <template> 13 <template>
14 <style> 14 <style>
15 div { display: paragraph; } 15 div { display: paragraph; }
16 </style> 16 </style>
17 17
(...skipping 29 matching lines...) Expand all
47 attached() { 47 attached() {
48 this.myButton = this.shadowRoot.getElementById('button'); 48 this.myButton = this.shadowRoot.getElementById('button');
49 this.myCheckbox = this.shadowRoot.getElementById('checkbox'); 49 this.myCheckbox = this.shadowRoot.getElementById('checkbox');
50 } 50 }
51 }.register(); 51 }.register();
52 </script> 52 </script>
53 </sky-element> 53 </sky-element>
54 54
55 <widget-root /> 55 <widget-root />
56 </sky> 56 </sky>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698