#yohana2211

1 messages · Page 1 of 1 (latest)

late furnaceBOT
slim vale
#

👋 happy to help

#

the ready event is triggered when the Element is fully rendered

#

this is when normally you should "turn off" the spinner

quick cobalt
#

alright .. I tried that but was not working

#

let me share some screenshot

slim vale
#

would you mind sharing your code as well, so I could take a look on when you're "launching" your spinner?

quick cobalt
slim vale
#

just fwiw, if you're using the PaymentElement there's already a loader that will be mounted to the DOM upon the creation of the element

quick cobalt
slim vale
#

it's not on elements but rather on the paymentElement that you need to listen to the ready event

quick cobalt
#

let me try that and see

#

I have set like this but nothing was logged

slim vale
#

I think the order is important here

#

paymentElement.on should be before the paymentElement.mount