From 333a64b974447b1cb4a180b2dd7f2fc552bf5f42 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
When snapToInterval is set, snapToAlignment will define the relationship
of the snapping to the scroll view.
'start' (the default) will align the snap at the left (horizontal) or top (vertical)'center' will align the snap in the center'end' will align the snap at the right (horizontal) or bottom (vertical)When set, causes the scroll view to stop at multiples of the value of
snapToInterval. This can be used for paginating through children
-that have lengths smaller than the scroll view. Used in combination
-with snapToAlignment.
The current scale of the scroll view content. The default value is 1.0.
Scrolls to a given x, y offset, either immediately or with a smooth animation.
Example:
scrollTo({x: 0, y: 0, animated: true})
Note: The weird function signature is due to the fact that, for historical reasons,
+that have lengths smaller than the scroll view. Typically used in
+combination with snapToAlignment and decelerationRate="fast".
+Overrides less configurable pagingEnabled prop.
The current scale of the scroll view content. The default value is 1.0.
Scrolls to a given x, y offset, either immediately or with a smooth animation.
Example:
scrollTo({x: 0, y: 0, animated: true})
Note: The weird function signature is due to the fact that, for historical reasons, the function also accepts separate arguments as an alternative to the options object. This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
If this is a vertical ScrollView scrolls to the bottom. If this is a horizontal ScrollView scrolls to the right.
Use scrollToEnd({animated: true}) for smooth animated scrolling,