text: "use strict";
  
  exports.__esModule = true;
  exports.default = setTransition;
  
  function setTransition(duration, byController) {
    var swiper = this;
  
    if (!swiper.params.cssMode) {
      swiper.$wrapperEl.transition(duration);
    }
  
    swiper.emit('setTransition', duration, byController);
  }