react-native/docs
Jesús Darío 60828566a7 Add a sample to clarify animation callback
Summary:
Even having worked long with React Native, I am pretty new to animations, so it took me a while to figure out how to trigger some code after an animation had finished. After some investigation, it
was evident I did not ready as in depth as I am supposed to, but this can be a problem for many
who, like me, try to search quick through docs and other resources.

Here more cases:
https://stackoverflow.com/questions/38053071/react-native-animated-complete-event
https://github.com/facebook/react-native/issues/3212

Read the proposed sample, and see if it is adequate.

 [DOCS] [ENHANCEMENT] [AnimatedImplementation.js] - Adds a sample for animation callbacks
Closes https://github.com/facebook/react-native/pull/16770

Differential Revision: D6304441

Pulled By: hramos

fbshipit-source-id: c22e391aece6a62684a78847fc74df203c2438d7
2017-11-21 11:02:57 -08:00
..
Accessibility.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
Animations.md fix typo - missing 'new' keyword 2017-10-16 15:18:41 -07:00
Colors.md New Handling Touches Tutorial 2017-06-07 11:51:21 -07:00
Contributing.md Add footer links to bot comments, rename label to Good fist issue 2017-10-16 14:17:07 -07:00
Debugging.md Document adb shell input keyevent 82 2017-10-09 22:02:09 -07:00
Images.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
Maintainers.md Flag large pull requests, add large-pr command 2017-08-16 21:00:44 -07:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
Navigation.md Update Navigation.md 2017-07-24 11:31:01 -07:00
Performance.md Improve support for unbundle feature 2017-10-13 17:28:28 -07:00
Props.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
State.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Style.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Testing.md Remove references to Travis 2017-10-13 20:34:22 -07:00
Timers.md New guide: Improving User Experience 2017-08-24 14:01:53 -07:00
Troubleshooting.md Add Troubleshooting Guide to Sidebar. 2017-08-25 15:30:43 -07:00
Tutorial.md Revert faulty change to HelloWorld demo in docs 2017-09-19 15:46:14 -07:00
Upgrading.md Add Troubleshooting Guide to Sidebar. 2017-08-25 15:30:43 -07:00
accessibilityinfo.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
actionsheetios.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
activityindicator.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
alert.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
alertios.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
android-building-from-source.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
androiduiperformance.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
animated.md Add a sample to clarify animation callback 2017-11-21 11:02:57 -08:00
animatedvalue.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
animatedvaluexy.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
app-extensions.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
appregistry.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
appstate.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
asyncstorage.md Migrate additional docs to the new format 2017-11-20 13:16:12 -08:00
backandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
backhandler.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
building-for-apple-tv.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
button.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
cameraroll.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
checkbox.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
clipboard.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
communication-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
communication-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
components-and-apis.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
custom-webview-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
custom-webview-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
datepickerandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
datepickerios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
dimensions.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
direct-manipulation.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
drawerlayoutandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
easing.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
flatlist.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
flexbox.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
geolocation.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
gesture-responder-system.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
getting-started.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
handling-text-input.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
handling-touches.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
headless-js-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
height-and-width.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
image-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
image.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
imageeditor.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
imagepickerios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
imagestore.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
improvingux.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
integration-with-existing-apps.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
interactionmanager.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
javascript-environment.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
keyboard.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
keyboardavoidingview.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
layout-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
layoutanimation.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
linking-libraries-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
linking.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
listview.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
listviewdatasource.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
maskedviewios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
modal.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
more-resources.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
native-components-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
native-components-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
native-modules-android.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
native-modules-ios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
nativemethodsmixing.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
navigatorios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
netinfo.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
network.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
panresponder.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
permissionsandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
picker-item.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
picker-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
picker.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
pickerios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
pixelratio.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
platform-specific-code.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
progressbarandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
progressviewios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
pushnotificationios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
refreshcontrol.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
running-on-device.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
running-on-simulator-ios.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
runningondeviceandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
runningondeviceios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
scrollview.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
sectionlist.md Removed Duplicate data. 2017-11-19 09:57:06 -08:00
segmentedcontrolios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
settings.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
shadow-props.md Fix Shadow Props 2017-11-21 10:18:29 -08:00
share.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
signed-apk-android.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
slider.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
snapshotviewios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
statusbar.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
statusbarios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
stylesheet.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
switch.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
systrace.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
tabbarios-item.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
tabbarios.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
text-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
text.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
textinput.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
timepickerandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
toastandroid.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
toolbarandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
touchablehighlight.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
touchablenativefeedback.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
touchableopacity.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
touchablewithoutfeedback.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
transforms.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
understanding-cli.md Restore missing ejected banner 2017-11-09 11:10:50 -08:00
using-a-listview.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
using-a-scrollview.md Flatten jsdocs to markdown plaintext 2017-11-07 16:46:52 -08:00
vibration.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
vibrationios.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
view-props.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
view-style-props.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
view.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
viewpagerandroid.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00
virtualizedlist.md Additional markdown adjustments 2017-11-09 09:55:05 -08:00
webview.md Migrate to new documentation format 2017-11-16 17:04:45 -08:00