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

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-radio-button/README.md

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 7 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/v0_8/components-chromium/paper-radio-button/README.md
diff --git a/third_party/polymer/v0_8/components-chromium/paper-radio-button/README.md b/third_party/polymer/v0_8/components-chromium/paper-radio-button/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..f1bdf5400a76b3ed19355cc47a523d7e18160940
--- /dev/null
+++ b/third_party/polymer/v0_8/components-chromium/paper-radio-button/README.md
@@ -0,0 +1,29 @@
+# paper-radio-button
+
+`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.
+
+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.
+
+Example:
+
+```html
+<paper-radio-button></paper-radio-button>
+```
+Styling a radio button:
+
+```html
+<style is="custom-style">
+ :root {
+ /* Unchecked state colors. */
+ --paper-radio-button-unchecked-color: #5a5a5a;
+ --paper-radio-button-unchecked-ink-color: #5a5a5a;
+
+ /* Checked state colors. */
+ --paper-radio-button-checked-color: #009688;
+ --paper-radio-button-checked-ink-color: #0f9d58;
+ }
+</style>
+```

Powered by Google App Engine
This is Rietveld 408576698