Login With Github

Swiper API: Controller

Controller Parameters

Parameter Type Default Description
controller object/boolean  

Object with controller parameters or boolean true to enable with default settings. For example:

var mySwiper = new Swiper('.swiper-container', {
  controller: {
    inverse: true,


control [Swiper Instance] undefined Pass here another Swiper instance or array with Swiper instances that should be controlled by this Swiper
inverse boolean false Set to true and controlling will be in inverse direction
by string 'slide' Can be 'slide' or 'container'. Defines a way how to control another slider: slide by slide (with respect to other slider's grid) or depending on all slides/container (depending on total slider percentage)

1 Comment


tutorial? where is the example?