diff --git a/releases/next/docs/scrollview.html b/releases/next/docs/scrollview.html index aa7a3dff884..2d4f5d2c419 100644 --- a/releases/next/docs/scrollview.html +++ b/releases/next/docs/scrollview.html @@ -34,7 +34,11 @@ functionality for the ScrollView.
When false, the content does not scroll. -The default value is true.
When true, shows a horizontal scroll indicator.
When true, shows a vertical scroll indicator.
(Android-only) Sets the elevation of a view, using Android's underlying +The default value is true.
When true, shows a horizontal scroll indicator.
When true, shows a vertical scroll indicator.
An array of child indices determining which children get docked to the
+top of the screen when scrolling. For example, passing
+stickyHeaderIndices={[0]} will cause the first child to be fixed to the
+top of the scroll view. This property is not supported in conjunction
+with horizontal={true}.
(Android-only) Sets the elevation of a view, using Android's underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.
Sometimes a scrollview takes up more space than its content fills. When this is
@@ -88,11 +92,7 @@ of the snapping to the scroll view.
- 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.
An array of child indices determining which children get docked to the
-top of the screen when scrolling. For example, passing
-stickyHeaderIndices={[0]} will cause the first child to be fixed to the
-top of the scroll view. This property is not supported in conjunction
-with horizontal={true}.
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.
Syntax:
scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
Note: The weird argument signature is due to the fact that, for historical reasons,
+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.
Syntax:
scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
Note: The weird argument signature is due to the fact that, for historical reasons, the function also accepts separate arguments as as alternative to the options object. This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
Deprecated, do not use.
You can edit the content above on GitHub and send us a pull request!
Examples # | Edit on GitHub |
'none' - Accessibility servic
for reference.Views that are only used to layout their children or otherwise don't draw
anything may be automatically removed from the native hierarchy as an
optimization. Set this property to false to disable this optimization and
-ensure that this View exists in the native view hierarchy.
Same as collapsable but also applies to all of this view's children.
+Setting this to false ensures that the all children exists in the native
+view hierarchy.