code: function handleDotClick(originalEvent, target) {
      if (this.isMoving) {
          return;
      }
      const { state: { config, itemsPerSlide } } = this;
      const slide = parseInt(target.getAttribute('data-slide'), 10);
      config.preserveItems = true;
      this.setState('index', slide * itemsPerSlide);
      emitAndFire(this, 'carousel-slide', { slide: slide + 1, originalEvent });
  }
docs: Moves the carousel to the slide at `data-slide` for the clicked element if possible.
  
  @param {MouseEvent} originalEvent
  @param {HTMLElement} target