The ScrollView class has a scroll event which is fired repeatedly during scrolling. However, the ScrollableView class does not have anything like this.
We need an event for ScrollableView s that informs us when a ScrollableView is being moved. Tragically, the scroll event for ScrollableViews already does something else – it fires when the whole view has been scrolled to another page.
So, I suggest we call the event scrolling. It will be emitted continuously as the view is scrolled, and will contain such properties as
- currentPage - currently active page index
- currentPageAsFloat - currently active page index as a float, so if halfway between pages, this will have a value of 0.5
- view - currently active view
I'm working on an implementation of this and will pull request the iOS implementation, docs, and tests within the next couple of days.