You need change your design, I think.
At time that you click next, you need just call the next slide. And if you need know this new slide, you could get the output event from the slider.
By the way, the pager out of slides too.
Im feeling slow, I made a slide with 6 images I hide the pager and made a footer where I placed a button that is connected through viewchild and can change the slide. But I want the same amount of pager bullets in my footer.
Been trying for long time now, but cant figure it out, dont know how to get the slider length at the right time and dont know how to get the same amount of pager bullets in the footer
use a conditional class= for each button which if true add the string ‘visibility: hidden’ to the button…
the test if on 1st page true hide button 1
and it on last page hide button 2