react-native/Examples
Janic Duplessis 6565929358 Add support for animated events
Summary:
This adds support for `Animated.event` driven natively. This is WIP and would like feedback on how this is implemented.

At the moment, it works by providing a mapping between a view tag, an event name, an event path and an animated value when a view has a prop with a `AnimatedEvent` object. Then we can hook into `EventDispatcher`, check for events that target our view + event name and update the animated value using the event path.

For now it works with the onScroll event but it should be generic enough to work with anything.
Closes https://github.com/facebook/react-native/pull/9253

Differential Revision: D3759844

Pulled By: foghina

fbshipit-source-id: 86989c705847955bd65e6cf5a7d572ec7ccd3eb4
2016-09-19 04:14:01 -07:00
..
2048 Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
Movies Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
TicTacToe Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
UIExplorer Add support for animated events 2016-09-19 04:14:01 -07:00
.eslintrc Add global flow types to eslint globals 2016-01-27 15:55:34 -08:00