cubiq / SwipeView

Virtually infinite loop-able horizontal carousel
MIT License
698 stars 167 forks source link

Make pageFlip and pageFlipIndex public variables #19

Closed Delapouite closed 5 years ago

Delapouite commented 12 years ago

Hi

Swipeview already provides public access for both page and pageIndex variables.

Currently the only way to know which page is flipped is to rely on the dataset.upcomingPageIndex of the masterPages. Will it be possible to make the pageFlip and pageFlipIndex vars of the __checkPosition method public to ease the use of this informations directly on the swipeview instance and not relying on the DOM ?

Thanks.