code: function () {
              var carousel = this;
  
              if (!JS.isUndefined(carousel._autoPlayTimer)) {
                  clearTimeout(carousel._autoPlayTimer);
                  delete carousel._autoPlayTimer;
                  carousel._isAutoPlayInProgress = false;
                  carousel.fireEvent(stopAutoPlayEvent);
              }
          }
docs: Stop auto-playing the Carousel.
  
  @method stopAutoPlay
  @public