From 99d37de091b3506cfefb67753b0bfafe8c57fa0b Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Fri, 29 Sep 2017 05:20:35 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/flatlist.html | 2 +- releases/next/docs/virtualizedlist.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/next/docs/flatlist.html b/releases/next/docs/flatlist.html index 4d1e2e45e3f..ef424c28919 100644 --- a/releases/next/docs/flatlist.html +++ b/releases/next/docs/flatlist.html @@ -75,7 +75,7 @@ middle. viewOffset is a fixed number of pixels to offset the final 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 getItemLayout prop.

scrollToOffset(params: object) #

Scroll to a specific content pixel offset in the list.

Check out scrollToOffset of VirtualizedList

recordInteraction() #

Tells the list an interaction has occured, which should trigger viewability calculations, e.g. if waitForInteractions is true and the user has not scrolled. This is typically called by -taps on items or by navigation actions.

flashScrollIndicators() #

Displays the scroll indicators momentarily.

Improve this page by sending a pull request!

← PrevNext →