diff --git a/docs/scrollview.md b/docs/scrollview.md index b35d481d71c..48c605f7029 100644 --- a/docs/scrollview.md +++ b/docs/scrollview.md @@ -440,7 +440,7 @@ Called when the momentum scroll ends (scroll which occurs as the ScrollView glid ### `onScroll` -Fires at most once per frame during scrolling. The event has the following shape (all values are numbers): +Fires at most once per frame during scrolling. The event has the following shape (all values with unspecified type are numbers): ```js { @@ -449,7 +449,11 @@ Fires at most once per frame during scrolling. The event has the following shape contentOffset: {x, y}, contentSize: {height, width}, layoutMeasurement: {height, width}, - zoomScale + velocity: {x, y}, + responderIgnoreScroll: boolean, + zoomScale, + // iOS only + targetContentOffset: {x, y} } } ``` diff --git a/website/versioned_docs/version-0.77/scrollview.md b/website/versioned_docs/version-0.77/scrollview.md index 6ffdf71e986..c08c4476f3c 100644 --- a/website/versioned_docs/version-0.77/scrollview.md +++ b/website/versioned_docs/version-0.77/scrollview.md @@ -440,7 +440,7 @@ Called when the momentum scroll ends (scroll which occurs as the ScrollView glid ### `onScroll` -Fires at most once per frame during scrolling. The event has the following shape (all values are numbers): +Fires at most once per frame during scrolling. The event has the following shape (all values with unspecified type are numbers): ```js { @@ -449,7 +449,11 @@ Fires at most once per frame during scrolling. The event has the following shape contentOffset: {x, y}, contentSize: {height, width}, layoutMeasurement: {height, width}, - zoomScale + velocity: {x, y}, + responderIgnoreScroll: boolean, + zoomScale, + // iOS only + targetContentOffset: {x, y} } } ``` diff --git a/website/versioned_docs/version-0.78/scrollview.md b/website/versioned_docs/version-0.78/scrollview.md index 6ffdf71e986..c08c4476f3c 100644 --- a/website/versioned_docs/version-0.78/scrollview.md +++ b/website/versioned_docs/version-0.78/scrollview.md @@ -440,7 +440,7 @@ Called when the momentum scroll ends (scroll which occurs as the ScrollView glid ### `onScroll` -Fires at most once per frame during scrolling. The event has the following shape (all values are numbers): +Fires at most once per frame during scrolling. The event has the following shape (all values with unspecified type are numbers): ```js { @@ -449,7 +449,11 @@ Fires at most once per frame during scrolling. The event has the following shape contentOffset: {x, y}, contentSize: {height, width}, layoutMeasurement: {height, width}, - zoomScale + velocity: {x, y}, + responderIgnoreScroll: boolean, + zoomScale, + // iOS only + targetContentOffset: {x, y} } } ``` diff --git a/website/versioned_docs/version-0.79/scrollview.md b/website/versioned_docs/version-0.79/scrollview.md index 6ffdf71e986..c08c4476f3c 100644 --- a/website/versioned_docs/version-0.79/scrollview.md +++ b/website/versioned_docs/version-0.79/scrollview.md @@ -440,7 +440,7 @@ Called when the momentum scroll ends (scroll which occurs as the ScrollView glid ### `onScroll` -Fires at most once per frame during scrolling. The event has the following shape (all values are numbers): +Fires at most once per frame during scrolling. The event has the following shape (all values with unspecified type are numbers): ```js { @@ -449,7 +449,11 @@ Fires at most once per frame during scrolling. The event has the following shape contentOffset: {x, y}, contentSize: {height, width}, layoutMeasurement: {height, width}, - zoomScale + velocity: {x, y}, + responderIgnoreScroll: boolean, + zoomScale, + // iOS only + targetContentOffset: {x, y} } } ``` diff --git a/website/versioned_docs/version-0.80/scrollview.md b/website/versioned_docs/version-0.80/scrollview.md index 6ffdf71e986..c08c4476f3c 100644 --- a/website/versioned_docs/version-0.80/scrollview.md +++ b/website/versioned_docs/version-0.80/scrollview.md @@ -440,7 +440,7 @@ Called when the momentum scroll ends (scroll which occurs as the ScrollView glid ### `onScroll` -Fires at most once per frame during scrolling. The event has the following shape (all values are numbers): +Fires at most once per frame during scrolling. The event has the following shape (all values with unspecified type are numbers): ```js { @@ -449,7 +449,11 @@ Fires at most once per frame during scrolling. The event has the following shape contentOffset: {x, y}, contentSize: {height, width}, layoutMeasurement: {height, width}, - zoomScale + velocity: {x, y}, + responderIgnoreScroll: boolean, + zoomScale, + // iOS only + targetContentOffset: {x, y} } } ``` diff --git a/website/versioned_docs/version-0.81/scrollview.md b/website/versioned_docs/version-0.81/scrollview.md index d574a984e28..30605c8510a 100644 --- a/website/versioned_docs/version-0.81/scrollview.md +++ b/website/versioned_docs/version-0.81/scrollview.md @@ -440,7 +440,7 @@ Called when the momentum scroll ends (scroll which occurs as the ScrollView glid ### `onScroll` -Fires at most once per frame during scrolling. The event has the following shape (all values are numbers): +Fires at most once per frame during scrolling. The event has the following shape (all values with unspecified type are numbers): ```js { @@ -449,7 +449,11 @@ Fires at most once per frame during scrolling. The event has the following shape contentOffset: {x, y}, contentSize: {height, width}, layoutMeasurement: {height, width}, - zoomScale + velocity: {x, y}, + responderIgnoreScroll: boolean, + zoomScale, + // iOS only + targetContentOffset: {x, y} } } ```