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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-radio-group/paper-radio-group.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../iron-selector/iron-selectable.html"> 10 <link rel="import" href="../iron-selector/iron-selectable.html">
11 <link rel="import" href="../paper-radio-button/paper-radio-button.html"> 11 <link rel="import" href="../paper-radio-button/paper-radio-button.html">
12 <link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html "> 12 <link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html ">
13 13
14 <!-- 14 <!--
15 `paper-radio-group` allows user to select only one radio button from a set. 15 `paper-radio-group` allows user to select only one radio button from a set.
16 Checking one radio button that belongs to a radio group unchecks any 16 Checking one radio button that belongs to a radio group unchecks any
17 previously checked radio button within the same group. Use 17 previously checked radio button within the same group. Use
18 `selected` to get or set the selected radio button. 18 `selected` to get or set the selected radio button.
19 19
20 Example: 20 Example:
21 21
22 <paper-radio-group selected="small"> 22 <paper-radio-group selected="small">
23 <paper-radio-button name="small" label="Small"></paper-radio-button> 23 <paper-radio-button name="small">Small</paper-radio-button>
24 <paper-radio-button name="medium" label="Medium"></paper-radio-button> 24 <paper-radio-button name="medium">Medium</paper-radio-button>
25 <paper-radio-button name="large" label="Large"></paper-radio-button> 25 <paper-radio-button name="large">Large</paper-radio-button>
26 </paper-radio-group> 26 </paper-radio-group>
27 27
28 See <a href="paper-radio-button.html">paper-radio-button</a> for more 28 See <a href="paper-radio-button.html">paper-radio-button</a> for more
29 information about `paper-radio-button`. 29 information about `paper-radio-button`.
30 30
31 @group Paper Elements 31 @group Paper Elements
32 @element paper-radio-group 32 @element paper-radio-group
33 @hero hero.svg 33 @hero hero.svg
34 @demo demo/index.html 34 @demo demo/index.html
35 --> 35 -->
36 36
37 </head><body><dom-module name="paper-radio-group"> 37 </head><body><dom-module name="paper-radio-group">
38 <style> 38 <style>
39 :host { 39 :host {
40 display: inline-block; 40 display: inline-block;
41 } 41 }
42 42
43 :host ::content > * { 43 :host ::content > * {
44 padding: 12px; 44 padding: 12px;
45 } 45 }
46 </style> 46 </style>
47 47
48 <template> 48 <template>
49 <content id="items" select="*"></content> 49 <content id="items" select="*"></content>
50 </template> 50 </template>
51 51
52 </dom-module> 52 </dom-module>
53 53
54 <script src="paper-radio-group-extracted.js"></script></body></html> 54 <script src="paper-radio-group-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698