first(options)

May 14, 2014 ยท View on GitHub

Type: Function, Returns: Object (Instance of Revolver)

Transition immediately to the first slide.

mySlider.first();

You may also temporarily overide transition options by passing them as the first argument.

mySlider.first({
  onComplete: function() {
    // this == mySlider
    console.log('Hey, we are back at one!');
  }
});