diff --git a/releases/next/docs/flatlist.html b/releases/next/docs/flatlist.html index 82d8d2128a2..0436bd7895d 100644 --- a/releases/next/docs/flatlist.html +++ b/releases/next/docs/flatlist.html @@ -123,7 +123,7 @@ sure to also set the refreshing prop correctly.

separators.updateProps function which let's you set whatever props you want to change the rendering of either the leading separator or trailing separator in case the more common highlight and unhighlight (which set the highlighted: boolean prop) are insufficient for -your use-case.

viewabilityConfig?: ViewabilityConfig #

See ViewabilityHelper for flow type and further documentation.

Methods #

scrollToEnd(params?: object) #

Scrolls to the end of the content. May be janky without getItemLayout prop.

scrollToIndex(params: object) #

Scrolls to the item at a the specified index such that it is positioned in the viewable area +your use-case.

viewabilityConfig?: ViewabilityConfig #

See ViewabilityHelper for flow type and further documentation.

androidprogressViewOffset?: number #

Set this when offset is needed for the loading indicator to show correctly.

Methods #

scrollToEnd(params?: object) #

Scrolls to the end of the content. May be janky without getItemLayout prop.

scrollToIndex(params: object) #

Scrolls to the item at a the specified index such that it is positioned in the viewable area such that viewPosition 0 places it at the top, 1 at the bottom, and 0.5 centered in the middle. viewOffset is a fixed number of pixels to offset the final target position.

Note: cannot scroll to locations outside the render window without specifying the getItemLayout prop.

scrollToItem(params: object) #

Requires linear scan through data - use scrollToIndex instead if possible.

Note: cannot scroll to locations outside the render window without specifying the diff --git a/releases/next/docs/virtualizedlist.html b/releases/next/docs/virtualizedlist.html index fdcde1c3c10..225ab76b231 100644 --- a/releases/next/docs/virtualizedlist.html +++ b/releases/next/docs/virtualizedlist.html @@ -40,7 +40,7 @@ screen. Similar fill rate/responsiveness tradeoff as maxToRenderPerBatchwindowSize={21} (the default) will render the visible screen area plus up to 10 screens above and 10 below the viewport. Reducing this number will reduce memory consumption and may improve performance, but will increase the -chance that fast scrolling may reveal momentary blank areas of unrendered content.

Methods #

scrollToEnd(params?: object) #

scrollToIndex(params: object) #

scrollToItem(params: object) #

scrollToOffset(params: object) #

Scroll to a specific content pixel offset in the list.

Param offset expects the offset to scroll to. +chance that fast scrolling may reveal momentary blank areas of unrendered content.

androidprogressViewOffset?: number #

Set this when offset is needed for the loading indicator to show correctly.

Methods #

scrollToEnd(params?: object) #

scrollToIndex(params: object) #

scrollToItem(params: object) #

scrollToOffset(params: object) #

Scroll to a specific content pixel offset in the list.

Param offset expects the offset to scroll to. In case of horizontal is true, the offset is the x-value, in any other case the offset is the y-value.

Param animated (true by default) defines whether the list should do an animation while scrolling.

recordInteraction() #

flashScrollIndicators() #

Type Definitions #

Props #

Type:
IntersectionTypeAnnotation

You can edit the content above on GitHub and send us a pull request!