Paddle Billing
Search

Paddle.Spinner.hide()

Hides a previously called loading spinner.

Use Paddle.Spinner.hide() to hide a loading spinner that was previously called using Paddle.Spinner.show(). 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.show() method when loading an inline checkout in response to an event.

Example

This example shows how Paddle.Spinner.hide() 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