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

Unified Diff: polymer_1.0.4/bower_components/paper-checkbox/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-checkbox/README.md
diff --git a/polymer_1.0.4/bower_components/paper-checkbox/README.md b/polymer_1.0.4/bower_components/paper-checkbox/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..2269079ed246d7aa3b2ba8ccddeb5d3f29c11098
--- /dev/null
+++ b/polymer_1.0.4/bower_components/paper-checkbox/README.md
@@ -0,0 +1,31 @@
+# paper-checkbox
+
+`paper-checkbox` is a button that can be either checked or unchecked. User
+can tap the checkbox to check or uncheck it. Usually you use checkboxes
+to allow user to select multiple options from a set. If you have a single
+ON/OFF option, avoid using a single checkbox and use `paper-toggle-button`
+instead.
+
+Example:
+
+```html
+<paper-checkbox>label</paper-checkbox>
+
+<paper-checkbox checked>label</paper-checkbox>
+```
+
+Styling a checkbox:
+
+```html
+<style is="custom-style">
+ paper-checkbox {
+ /* Unhecked state colors. */
+ --paper-checkbox-unchecked-color: #5a5a5a;
+ --paper-checkbox-unchecked-ink-color: #5a5a5a;
+
+ /* Checked state colors. */
+ --paper-checkbox-checked-color: #009688;
+ --paper-checkbox-checked-ink-color: #009688;
+ }
+</style>
+```
« no previous file with comments | « polymer_1.0.4/bower_components/paper-checkbox/.gitignore ('k') | polymer_1.0.4/bower_components/paper-checkbox/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698