DefinitelyTyped/types/react-native
HAMPLENI 01764b65da Adding useNativeDriver to EventConfig (#18302)
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
2017-07-21 19:00:35 -07:00
..
test Adding divide routine to Animated 2017-07-19 13:48:18 -07:00
index.d.ts Adding useNativeDriver to EventConfig (#18302) 2017-07-21 19:00:35 -07:00
tsconfig.json
tslint.json