summaryrefslogtreecommitdiffstats
path: root/third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html')
-rw-r--r--third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html b/third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html
new file mode 100644
index 0000000..ab905e2
--- /dev/null
+++ b/third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html
@@ -0,0 +1,60 @@
+<!--
+Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
+Code distributed by Google as part of the polymer project is also
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
+-->
+
+<!--
+`paper-radio-group` allows user to select only one radio button from a set.
+Checking one radio button that belongs to a radio group unchecks any
+previously checked radio button within the same group. Use
+`selected` to get or set the selected radio button.
+
+Example:
+
+ <paper-radio-group selected="small">
+ <paper-radio-button name="small" label="Small"></paper-radio-button>
+ <paper-radio-button name="medium" label="Medium"></paper-radio-button>
+ <paper-radio-button name="large" label="Large"></paper-radio-button>
+ </paper-radio-group>
+
+See <a href="../paper-radio-button/">paper-radio-button</a> for more
+information about `paper-radio-button`.
+
+@group Paper Elements
+@element paper-radio-group
+@extends core-selector
+@homepage github.io
+-->
+
+<link rel="import" href="../core-selector/core-selector.html">
+<link rel="import" href="../paper-radio-button/paper-radio-button.html">
+
+<polymer-element name="paper-radio-group" extends="core-selector" role="radiogroup" assetpath="">
+
+ <template>
+
+ <style>
+
+ :host {
+ display: inline-block;
+ }
+
+ polyfill-next-selector { content: ':host > *'; }
+ ::content > * {
+ padding: 12px;
+ }
+
+ </style>
+
+ <shadow></shadow>
+
+ </template>
+
+
+
+</polymer-element>
+<script src="paper-radio-group-extracted.js"></script> \ No newline at end of file