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

Unified Diff: third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components-chromium/paper-radio-group/paper-radio-group.html
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 0000000000000000000000000000000000000000..ab905e2879c1c6043c117415c9690ce0ebaf38aa
--- /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>

Powered by Google App Engine
This is Rietveld 408576698