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

Unified Diff: polymer_1.0.4/bower_components/paper-radio-button/README.md

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 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: polymer_1.0.4/bower_components/paper-radio-button/README.md
diff --git a/polymer_1.0.4/bower_components/paper-radio-button/README.md b/polymer_1.0.4/bower_components/paper-radio-button/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..f1bdf5400a76b3ed19355cc47a523d7e18160940
--- /dev/null
+++ b/polymer_1.0.4/bower_components/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