#keira-elements-ui

1 messages · Page 1 of 1 (latest)

faint kraken
#

this is using Stripe Elements? Or iOS SDK?

raw marsh
#

Stripe Elements

#

var elements = stripe.elements();
var card = elements.create('card', {style: stripeStyle});

faint kraken
#

you'll have to increase the width of your Elements to give more room to the UI elements to collapse/expand

raw marsh
#

what's the minimum width required?

faint kraken
#

not sure off hand, you would have to try some out and see

raw marsh
#

If I would like to create something like this with card number and details on 2 separate lines, which element should I use?

faint kraken
#

yes you create and individually mount cardNumberElement, cardExpiryElement etc