title: Swiper pagination, trigger js code on specific slide
body: <p>I'm using <a href="https://swiperjs.com" rel="nofollow noreferrer">SwiperJS</a> for sliders.
  I was wondering if it's possible to set  trigger js code on specific slide in Swiper?</p>
  <p><strong>For example</strong>, if the user is on second slide the background changes, it triggers JS code <code>getElementById(&quot;body&quot;);element.classList.add(&quot;some-class&quot;);</code></p>
  <p>This should also work with arrows, so maybe the question should be,</p>