OLD | NEW |
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-box/sky-box.sky"/> | 7 <import src="/sky/framework/sky-box.sky"/> |
8 <import src="/sky/framework/sky-button/sky-button.sky"/> | 8 <import src="/sky/framework/sky-button.sky"/> |
9 <import src="/sky/framework/sky-checkbox/sky-checkbox.sky"/> | 9 <import src="/sky/framework/sky-checkbox.sky"/> |
10 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement"/> | 10 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement"/> |
11 <import src="/sky/framework/sky-input.sky"/> | 11 <import src="/sky/framework/sky-input.sky"/> |
12 <import src="/sky/framework/sky-radio/sky-radio.sky"/> | 12 <import src="/sky/framework/sky-radio.sky"/> |
13 <sky-element name="widget-root"> | 13 <sky-element name="widget-root"> |
14 <template> | 14 <template> |
15 <style> | 15 <style> |
16 div { | 16 div { |
17 display: flex; | 17 display: flex; |
18 align-items: center; | 18 align-items: center; |
19 } | 19 } |
20 sky-checkbox { | 20 sky-checkbox { |
21 margin: 5px; | 21 margin: 5px; |
22 } | 22 } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 this.clickCount++; | 78 this.clickCount++; |
79 this.checked = !this.checked; | 79 this.checked = !this.checked; |
80 this.inputValue = "Moar clicking " + this.clickCount; | 80 this.inputValue = "Moar clicking " + this.clickCount; |
81 } | 81 } |
82 }.register(); | 82 }.register(); |
83 </script> | 83 </script> |
84 </sky-element> | 84 </sky-element> |
85 | 85 |
86 <widget-root /> | 86 <widget-root /> |
87 </sky> | 87 </sky> |
OLD | NEW |