From b8118d1b79f0bac567fc747b95a7dbd03033db7d Mon Sep 17 00:00:00 2001 From: Tomas Reimers Date: Sun, 23 Jul 2017 14:03:27 -0700 Subject: [PATCH] Add documentation for onMomentumScrollEnd Summary: Closes https://github.com/facebook/react-native/pull/15144 Differential Revision: D5478574 Pulled By: shergin fbshipit-source-id: 33c49f0efdfb3a518e1ee254b1dc01ec22f09269 --- Libraries/Components/ScrollView/ScrollView.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index aab6c95c0..5f0cb56c4 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -235,6 +235,10 @@ const ScrollView = createReactClass({ * @platform ios */ minimumZoomScale: PropTypes.number, + /** + * Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop). + */ + onMomentumScrollEnd: PropTypes.func, /** * Fires at most once per frame during scrolling. The frequency of the * events can be controlled using the `scrollEventThrottle` prop.