I've read the docs, but there's still no sense in the results I'm seeing.
In onSlideBegin() it looks as if currentPage is 1-based and targetPage is 0-based. I am not using the cloned panel feature.
If I am on slide # 3 (= index 2), say, and I click to go back, then I expect currentPage=2 and targetPage=1. But I get currentPage=3 and targetPage=1. Similarly for other use cases.
Surely I'm doing something wrong?