Add docs for onMomentumScrollBegin

Summary:
<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native.

Happy contributing!
-->
Closes https://github.com/facebook/react-native/pull/15158

Differential Revision: D5479401

Pulled By: shergin

fbshipit-source-id: d4864e1630a36deb1a227c1b6242255ac1f788e6
This commit is contained in:
Tomas Reimers 2017-07-24 01:07:30 -07:00 committed by Facebook Github Bot
parent aa9a19ab8d
commit 3eae3df5d1
1 changed files with 4 additions and 0 deletions

View File

@ -235,6 +235,10 @@ const ScrollView = createReactClass({
* @platform ios * @platform ios
*/ */
minimumZoomScale: PropTypes.number, minimumZoomScale: PropTypes.number,
/**
* Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).
*/
onMomentumScrollBegin: PropTypes.func,
/** /**
* Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop). * Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop).
*/ */