OLD | NEW |
(Empty) | |
| 1 # gold-cc-cvc-input |
| 2 |
| 3 `gold-cc-cvc-input` is a single-line text field with Material Design styling |
| 4 for entering a credit card's CVC (Card Verification Code). It supports both |
| 5 4-digit Amex CVCs and non-Amex 3-digit CVCs. |
| 6 |
| 7 ```html |
| 8 <gold-cc-cvc-input></gold-cc-cvc-input> |
| 9 |
| 10 <gold-cc-cvc-input card-type="amex"></gold-cc-cvc-input> |
| 11 ``` |
| 12 |
| 13 It may include an optional label, which by default is "CVC". |
| 14 |
| 15 ```html |
| 16 <gold-cc-cvc-input label="Card Verification Value"></gold-cc-cvc-input> |
| 17 ``` |
| 18 |
| 19 It can be used together with a `gold-cc-input` by binding the `cardType` propert
y: |
| 20 |
| 21 ```html |
| 22 <gold-cc-input card-type="{{cardType}}"></gold-cc-input> |
| 23 <gold-cc-cvc-input card-type="[[cardType]]"></gold-cc-cvc-input> |
| 24 ``` |
OLD | NEW |