title: Go to certain Slide of Swiper within Elementor Pro
body: <p>I'm using the slides widget of Elementor Pro which is based on swiper.js and want to make use of the <code>slideTo()</code> function which the swiper offers to slide to a certain slide. I could not find a way to address the slider with javascript. I tried to add something like</p>
  
  <pre class="lang-js prettyprint-override"><code>$('.btn').on('click', function() {
  mySwiper.slideTo(2)
  });
  </code></pre>
  
  <p>or</p>
  
  <pre class="lang-js prettyprint-override"><code>$('.btn').on('click', function() {
  mySwiper[0].slideTo(2); // in case there is more than one swiper element
  });
  </code></pre>
  
  <p>But that did not work, since I could not identify the slider.</p>
  
  <p>Analysising Elementor's frontend.js I still could not find out how the swiper instances are called within the plugin.
  Has anyone managed to managed a way to call swiper sliders that come from Elementor?</p>
  
  <p>Thanks in advance.</p>
  
  <p>The question probably can also be related to this question
  <a href="https://stackoverflow.com/questions/55053924/identify-reference-to-destroy-re-initialize-swiper-in-elementor">Identify Reference to Destroy &amp; Re-Initialize Swiper in Elementor</a></p>