Paddle Billing
Search

Paddle.Spinner.show()

Shows a loading spinner.

Use Paddle.Spinner.show() to show a loading spinner. The spinner appears full screen on a darkened background.

Not needed when working with overlay checkout, as overlay checkout automatically shows a spinner when a checkout is loading.

Typically paired with the Paddle.Spinner.hide() method when loading an inline checkout in response to an event.

Example

This example shows how Paddle.Spinner.show() can be called as part of an open checkout function.

eventCallback is used in Paddle.Initialize() to call Paddle.Spinner.hide() when the checkout.loaded event is emitted.

Related pages