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

Side by Side Diff: sky/framework/sky-radio.sky

Issue 874303003: Move sky-box,-button,-checkbox,-radio out of their directories (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
« no previous file with comments | « sky/framework/sky-checkbox/sky-checkbox.sky ('k') | sky/framework/sky-radio/sky-radio.sky » ('j') | 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 <import src="/sky/framework/sky-button/sky-button.sky" as="SkyButton" /> 6 <import src="/sky/framework/sky-button.sky" as="SkyButton" />
7 7
8 <sky-element 8 <sky-element
9 name="sky-radio" 9 name="sky-radio"
10 attributes="selected:boolean, group:string" 10 attributes="selected:boolean, group:string"
11 on-click="handleClick"> 11 on-click="handleClick">
12 <template> 12 <template>
13 <style> 13 <style>
14 :host { 14 :host {
15 display: inline-block; 15 display: inline-block;
16 -webkit-user-select: none; 16 -webkit-user-select: none;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 groupChanged(oldValue, newValue) { 96 groupChanged(oldValue, newValue) {
97 if (this.selected && this.controller) 97 if (this.selected && this.controller)
98 this.controller.takeSelectionFromGroup(this); 98 this.controller.takeSelectionFromGroup(this);
99 } 99 }
100 handleClick() { 100 handleClick() {
101 this.selected = true; 101 this.selected = true;
102 } 102 }
103 }.register(); 103 }.register();
104 </script> 104 </script>
105 </sky-element> 105 </sky-element>
OLDNEW
« no previous file with comments | « sky/framework/sky-checkbox/sky-checkbox.sky ('k') | sky/framework/sky-radio/sky-radio.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698