Skip to content

2.8.0

Latest
Compare
Choose a tag to compare
@kareemaly kareemaly released this 11 Oct 21:44
· 22 commits to master since this release

Changes

Features

  • Added prop infiniteLoop: boolean to enable or disable infinite loop on the carousel items.
  • Added prop calculateActualTranslateX: func to be able to change current translateX value.

Refactor

  • Moved the following carousel values to hoc withCarouselValues
    • items: array of nodes
    • nextItemIndex: number
    • previousItemIndex: number
    • activeItemTranslateX: number

Docs

  • Upated props to include infiniteLoop and calculateActualTranslateX
  • Added infiniteLoop feature limitations section