Wlada / vue-carousel-3d

Vue Carousel 3D - Beautiful, flexible and touch supported 3D Carousel for Vue.js
MIT License
969 stars 203 forks source link

How to make slides with a link that's activated only for current active slide? #170

Closed tomasts248 closed 3 years ago

tomasts248 commented 3 years ago

Basically each slide should contain their respective links like this:

slide :index="0">
      <a href="mypage">
      <figure>
        <img src="https://placehold.it/360x270">
        <figcaption>
          Slide 1

        </figcaption>
      </figure>
      </a>
    </slide>

Clicking on a foreground slide should make the switch to the current active one instead of redirecting to the link page; in other words the link should only be active for the current slide.

btw Very nice carousel! I'm loving it so far :)