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

Unified Diff: polymer_1.0.4/bower_components/gold-cc-cvc-input/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/gold-cc-cvc-input/README.md
diff --git a/polymer_1.0.4/bower_components/gold-cc-cvc-input/README.md b/polymer_1.0.4/bower_components/gold-cc-cvc-input/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..4a668a00479659fb668cc59858240882309c391f
--- /dev/null
+++ b/polymer_1.0.4/bower_components/gold-cc-cvc-input/README.md
@@ -0,0 +1,24 @@
+# gold-cc-cvc-input
+
+`gold-cc-cvc-input` is a single-line text field with Material Design styling
+for entering a credit card's CVC (Card Verification Code). It supports both
+4-digit Amex CVCs and non-Amex 3-digit CVCs.
+
+```html
+ <gold-cc-cvc-input></gold-cc-cvc-input>
+
+ <gold-cc-cvc-input card-type="amex"></gold-cc-cvc-input>
+```
+
+It may include an optional label, which by default is "CVC".
+
+```html
+ <gold-cc-cvc-input label="Card Verification Value"></gold-cc-cvc-input>
+```
+
+It can be used together with a `gold-cc-input` by binding the `cardType` property:
+
+```html
+ <gold-cc-input card-type="{{cardType}}"></gold-cc-input>
+ <gold-cc-cvc-input card-type="[[cardType]]"></gold-cc-cvc-input>
+```

Powered by Google App Engine
This is Rietveld 408576698