You can mount individual Element components inside of your
In this example the
The full list of components available:
|Card Number Element||ngx-stripe-card-number|
|Card Expiry Element||ngx-stripe-card-expiry|
|Card CVC Element||ngx-stripe-card-cvc|
|Payment Request Button||ngx-stripe-payment-request-button|
|Au Bank Account Element||ngx-stripe-au-bank-account|
|Ideal Bank Element||ngx-stripe-ideal-bank|
|FPX Bank Element||ngx-stripe-fpx-bank|
If you want to use the card number, expiry and cvc as separated elements you need to put them inside the card group directive.
This is necessary to ensure the three elements shared the same stripe elements objects, otherwise it won't work. As you can see in the example element options is not available for any of the three child components, but only for the group directive.
Here is an example using the Card Group as a Directive:
We also make available the component selector, in case you prefer to work that way, here is an example using the Card Group as a Component.