From 60b67a447dab883bad8065cf719eb4acc6db6e55 Mon Sep 17 00:00:00 2001 From: Mike Fowler Date: Fri, 20 Nov 2015 11:38:04 -0800 Subject: [PATCH] Update Animations.md Add a better explanation of the extrapolation options. --- docs/Animations.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/Animations.md b/docs/Animations.md index a18f0f78ce6..22a5f1c0f51 100644 --- a/docs/Animations.md +++ b/docs/Animations.md @@ -168,9 +168,11 @@ Input | Output already implemented in the [`Easing`](https://github.com/facebook/react-native/blob/master/Libraries/Animation/Animated/Easing.js) class including quadratic, exponential, and bezier curves as well as functions -like step and bounce. `interpolation` also has configurable behavior for -extrapolation, the default being `'extend'`, but `'clamp'` is also very useful -to prevent the output value from exceeding `outputRange`. +like step and bounce. `interpolation` also has configurable behavior for +extrapolating the `outputRange`. You can set the extrapolation by setting the `extrapolate`, +`extrapolateLeft` or `extrapolateRight` options. The default value is +`extend` but you can use `clamp` to prevent the output value from exceeding +`outputRange`. #### Tracking Dynamic Values