API

The instance of the swup can be imported and used across your sites JavaScript to enable some additional features. With debug plugin enabled, instance is also available in window object as window.swup.