> For the complete documentation index, see [llms.txt](https://developers.spiffy.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.spiffy.co/spiffyjs/introduction/methods.md).

# Methods

### .update(*configObj*)

Modify this checkout's [settings](/spiffyjs/introduction/settings.md) this is the same as changing the settings during `spiffy.checkout(url, configObj)`&#x20;

* `configObj` - Object of [config properties](/spiffyjs/introduction/settings.md)

### .open()

Open checkout in popup modal

### .close()

Close checkout popup modal

### .fullscreen.on()

Sets the checkout to fill the browser window. This is used internally when going to an upsell or thank you page while `pageTakeover` is enabled.

### .fullscreen.off()

Returns the checkout to it's normal view

## Add/Remove Event Listeners

The `.on()` and `.off()` methods can be used directly on a checkout object to scope the event listeners to that specific checkout ([see event listener docs](/spiffyjs/methods.md#add-remove-event-listeners))

```javascript
// find or create checkout instance
var checkout = spiffy.checkout("https://yourcompany.spiffy.co/checkout/test-checkout")

// add event listener
checkout.on('form:ready', function () {
    // do things...
})
```

##
