Port Android relocation packer to chromium build
[chromium-blink-merge.git] / third_party / polymer / components-chromium / paper-radio-group / paper-radio-group.html
blob18ad5e4424e740780df0e17bc41ad9133347ce35
1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 --><!--
9 `paper-radio-group` allows user to select only one radio button from a set.
10 Checking one radio button that belongs to a radio group unchecks any
11 previously checked radio button within the same group. Use
12 `selected` to get or set the selected radio button.
14 Example:
16 <paper-radio-group selected="small">
17 <paper-radio-button name="small" label="Small"></paper-radio-button>
18 <paper-radio-button name="medium" label="Medium"></paper-radio-button>
19 <paper-radio-button name="large" label="Large"></paper-radio-button>
20 </paper-radio-group>
22 See <a href="../paper-radio-button/">paper-radio-button</a> for more
23 information about `paper-radio-button`.
25 @group Paper Elements
26 @element paper-radio-group
27 @extends core-selector
28 @homepage github.io
29 --><html><head><link rel="import" href="../core-a11y-keys/core-a11y-keys.html">
30 <link rel="import" href="../core-selector/core-selector.html">
31 <link rel="import" href="../paper-radio-button/paper-radio-button.html">
33 </head><body><polymer-element name="paper-radio-group" extends="core-selector" role="radiogroup" assetpath="">
35 <template>
37 <core-a11y-keys target="{{}}" keys="up left" on-keys-pressed="{{selectPrevious}}"></core-a11y-keys>
38 <core-a11y-keys target="{{}}" keys="down right" on-keys-pressed="{{selectNext}}"></core-a11y-keys>
40 <style>
42 :host {
43 display: inline-block;
46 polyfill-next-selector { content: ':host > *'; }
47 ::content > * {
48 padding: 12px;
51 </style>
53 <shadow></shadow>
55 </template>
59 </polymer-element>
60 <script charset="utf-8" src="paper-radio-group-extracted.js"></script></body></html>