mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1ba67fd9a6
Summary: Move RCTScrollEvent into separate file and export its header. Reviewed By: shergin Differential Revision: D17831709 fbshipit-source-id: f4ee4e09147ef5703b85a10238ddb6cdefdf05a5
24 lines
801 B
Objective-C
24 lines
801 B
Objective-C
//
|
|
// RCTScrollEvent.h
|
|
// RCTCxxBridgeApple
|
|
//
|
|
// Created by Samuel Susla on 08/10/2019.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <React/RCTEventDispatcher.h>
|
|
|
|
@interface RCTScrollEvent : NSObject <RCTEvent>
|
|
|
|
- (instancetype)initWithEventName:(NSString *)eventName
|
|
reactTag:(NSNumber *)reactTag
|
|
scrollViewContentOffset:(CGPoint)scrollViewContentOffset
|
|
scrollViewContentInset:(UIEdgeInsets)scrollViewContentInset
|
|
scrollViewContentSize:(CGSize)scrollViewContentSize
|
|
scrollViewFrame:(CGRect)scrollViewFrame
|
|
scrollViewZoomScale:(CGFloat)scrollViewZoomScale
|
|
userData:(NSDictionary *)userData
|
|
coalescingKey:(uint16_t)coalescingKey NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|