From b01976555e479dbb81af7edc4be3960e44444ecc Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sat, 26 Nov 2016 00:58:21 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/layoutanimation.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/releases/next/docs/layoutanimation.html b/releases/next/docs/layoutanimation.html index 5249d15872a..fdbd50d6a13 100644 --- a/releases/next/docs/layoutanimation.html +++ b/releases/next/docs/layoutanimation.html @@ -1,6 +1,5 @@ LayoutAnimation

LayoutAnimation #

Automatically animates views to their new positions when the -next layout happens.

A common way to use this API is to call LayoutAnimation.configureNext -before calling setState.

Methods #

static configureNext(config, onAnimationDidEnd?) #

Schedules an animation to happen on the next layout.

@param config Specifies animation properties:

  • duration in milliseconds
  • create, config for animating in new views (see Anim type)
  • update, config for animating views that have been updated +next layout happens.

    A common way to use this API is to call it before calling setState.

    Note that in order to get this to work on Android you need to set the following flags via UIManager:

    UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);

Methods #

static configureNext(config, onAnimationDidEnd?) #

Schedules an animation to happen on the next layout.

@param config Specifies animation properties:

  • duration in milliseconds
  • create, config for animating in new views (see Anim type)
  • update, config for animating views that have been updated (see Anim type)

@param onAnimationDidEnd Called when the animation finished. Only supported on iOS. @param onError Called on error. Only supported on iOS.

static create(duration, type, creationProp) #

Helper for creating a config for configureNext.

Properties #

Types: CallExpression #

Properties: CallExpression #

configChecker: CallExpression #

Presets: ObjectExpression #

easeInEaseOut: CallExpression #

linear: CallExpression #

spring: CallExpression #

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

Examples #

Edit on GitHub
'use strict';