api/options/onpause.md
# onPause
**Type**: `Function`, **Default**: `function(){}`
This is a callback that you can pass through the options object to the constructor. Internally, it is registered as a listener to the [pause](../events/pause.md) event using the [on](../methods/on.md) method. The `this` variable inside the callback is equal to the Revolver instance.
```javascript
var slider = new Revolver({
onPause: function() {
// this == slider
}
// ...
});
```