API

The swup instance returned from the constructor can be used to access additional methods and helpers.

When using the debug plugin, the swup instance can optionally made available as window.swup in the global context.