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

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

Issue 1401633002: Update Polymer from 1.1.4 -> 1.1.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dzhioev@ review Created 5 years, 2 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/v1_0/components-chromium/paper-radio-group/paper-radio-group.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-radio-group/paper-radio-group.html b/third_party/polymer/v1_0/components-chromium/paper-radio-group/paper-radio-group.html
index 354527afcb255bbc3d7e14fb4c26dc9263af8092..9e5f9ea5e78e5784789fb866c21793c855837bb7 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-radio-group/paper-radio-group.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-radio-group/paper-radio-group.html
@@ -12,11 +12,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
<!--
-`paper-radio-group` allows user to select only one radio button from a set.
+Material design: [Radio button](https://www.google.com/design/spec/components/selection-controls.html#selection-controls-radio-button)
+
+`paper-radio-group` allows user to select at most 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.
+The <paper-radio-buttons> inside the group must have the `name` attribute
+set.
+
Example:
<paper-radio-group selected="small">
@@ -25,7 +30,15 @@ Example:
<paper-radio-button name="large">Large</paper-radio-button>
</paper-radio-group>
-See <a href="paper-radio-button.html">paper-radio-button</a> for more
+Radio-button-groups can be made optional, and allow zero buttons to be selected:
+
+ <paper-radio-group selected="small" allow-empty-selection>
+ <paper-radio-button name="small">Small</paper-radio-button>
+ <paper-radio-button name="medium">Medium</paper-radio-button>
+ <paper-radio-button name="large">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
@@ -34,7 +47,7 @@ information about `paper-radio-button`.
@demo demo/index.html
-->
-</head><body><dom-module name="paper-radio-group">
+</head><body><dom-module id="paper-radio-group">
<style>
:host {
display: inline-block;

Powered by Google App Engine
This is Rietveld 408576698