mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add support for value listener
Summary: Adds support for `Animated.Value#addListener` for native driven animated values. Same as #8844 but for iOS. This depends on some JS code in #8844 so only review the 2nd commit and let's wait for #8844 to land first. **Test plan** Tested using the UIExplorer example. Closes https://github.com/facebook/react-native/pull/9194 Differential Revision: D3681749 fbshipit-source-id: 521a61e2221c1ad1f6f40c75dd2dc957361d0271
This commit is contained in:
committed by
Facebook Github Bot 6
parent
68d483e041
commit
0e204e1141
@@ -7,7 +7,9 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
#import "RCTBridgeModule.h"
|
||||
#import "RCTValueAnimatedNode.h"
|
||||
#import "RCTEventEmitter.h"
|
||||
|
||||
@interface RCTNativeAnimatedModule : NSObject <RCTBridgeModule>
|
||||
@interface RCTNativeAnimatedModule : RCTEventEmitter <RCTBridgeModule, RCTValueAnimatedNodeObserver>
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user