hooper
hooper copied to clipboard
Events not working properly
Describe the bug
@beforeSlide
slideTo
is always undefined
@afterSlide
, @updated
don't fire at all
@slide
currentSlide
is one-based as well as zero-based index, depending on slide direction
- Slide to left: First slide is index 3, second slide is index 1, third slide is index 2
- Slide to right: First slide is index 0, second slide is index 1, third slide is index -1
To Reproduce Steps to reproduce the behavior:
- Install hooper ^0.3.4
- Create a carousel
- Console log the events
- See error
Expected behavior Events work like they're intended too
Screenshots
@beforeSlide
@slide
Desktop:
- OS: macOS
- Browser Brave
- Version 1.15.72 Chromium: 86.0.4240.75