Skip to content

0.7.0

Latest
Compare
Choose a tag to compare
@bartdominiak bartdominiak released this 08 Feb 13:34
· 5 commits to master since this release

Removed

  • maxPages and its calculation (#55)

Updated

  • Replace changeSlide with simpler goToSlide, for consistent behavior with exposed go-to-page API + removal of dependent method that is not in use anymore (#55)
  • Split getting current page index from setting it, supporting passing the index from outside, for example goToSlide method, so in some cases the index will change, even if there was no scroll event. (#55)

Fixed

  • Fix support for calculating a proper current slide index, when there is nothing left to scroll (#55)

Thanks to @Igloczek 🥇