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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
index 030a14385e8423d53821526a8c84af885f8e12ab..e1d21a9f97689a4f56fc5d39badd14ebbf62dac7 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html
@@ -12,15 +12,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<!--
`paper-radio-button` is a button that can be either checked or unchecked.
-User can tap the radio button to check it. But it cannot be unchecked by
-tapping once checked.
+User can tap the radio button to check or uncheck it.
-Use `paper-radio-group` to group a set of radio buttons. When radio buttons
-are inside a radio group, only one radio button in the group can be checked.
+Use a `<paper-radio-group>` to group a set of radio buttons. When radio buttons
+are inside a radio group, exactly one radio button in the group can be checked
+at any time.
Example:
<paper-radio-button></paper-radio-button>
+ <paper-radio-button>Item label</paper-radio-button>
### Styling
@@ -28,6 +29,7 @@ The following custom properties and mixins are available for styling:
Custom property | Description | Default
----------------|-------------|----------
+`--paper-radio-button-unchecked-background-color` | Radio button background color when the input is not checked | `transparent`
`--paper-radio-button-unchecked-color` | Radio button color when the input is not checked | `--primary-text-color`
`--paper-radio-button-unchecked-ink-color` | Selected/focus ripple color when the input is not checked | `--primary-text-color`
`--paper-radio-button-checked-color` | Radio button color when the input is checked | `--default-primary-color`

Powered by Google App Engine
This is Rietveld 408576698