React Elastic Carousel
Edit page
Getting started
Examples
Changelog

onPrevStart

onPrevStart will pass both the current and next item-object:

(currentItem, nextItem) => {/*...*/}
  • The item-object has the shape of:
{
item: {/* your item */},
index: // the item's index number
}