mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The AnimatedEvent class's constructor takes in a config parameter of type EventConfig. This config object is passed to shouldUseNativeDriver, which only returns something other than false if useNativeDriver is ever set. A case when useNativeDriver is set to true is when Animated.Event is used for an Animated.ScrollView's onScroll prop. https://facebook.github.io/react-native/blog/2017/02/14/using-native-driver-for-animated.html |
||
|---|---|---|
| .. | ||
| test | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||