正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
| @@ -82,13 +82,19 @@ RCT_EXPORT_VIEW_PROPERTY(contentInset, UIEdgeInsets) | @@ -82,13 +82,19 @@ RCT_EXPORT_VIEW_PROPERTY(contentInset, UIEdgeInsets) | ||
| 82 | RCT_EXPORT_VIEW_PROPERTY(scrollIndicatorInsets, UIEdgeInsets) | 82 | RCT_EXPORT_VIEW_PROPERTY(scrollIndicatorInsets, UIEdgeInsets) |
| 83 | RCT_EXPORT_VIEW_PROPERTY(snapToInterval, int) | 83 | RCT_EXPORT_VIEW_PROPERTY(snapToInterval, int) |
| 84 | RCT_EXPORT_VIEW_PROPERTY(snapToAlignment, NSString) | 84 | RCT_EXPORT_VIEW_PROPERTY(snapToAlignment, NSString) |
| 85 | +RCT_EXPORT_VIEW_PROPERTY(snapToOffsets, NSArray<NSNumber *>) | ||
| 86 | +RCT_EXPORT_VIEW_PROPERTY(snapToStart, BOOL) | ||
| 87 | +RCT_EXPORT_VIEW_PROPERTY(snapToEnd, BOOL) | ||
| 85 | RCT_REMAP_VIEW_PROPERTY(contentOffset, scrollView.contentOffset, CGPoint) | 88 | RCT_REMAP_VIEW_PROPERTY(contentOffset, scrollView.contentOffset, CGPoint) |
| 86 | RCT_EXPORT_VIEW_PROPERTY(onScrollBeginDrag, RCTDirectEventBlock) | 89 | RCT_EXPORT_VIEW_PROPERTY(onScrollBeginDrag, RCTDirectEventBlock) |
| 87 | RCT_EXPORT_VIEW_PROPERTY(onScroll, RCTDirectEventBlock) | 90 | RCT_EXPORT_VIEW_PROPERTY(onScroll, RCTDirectEventBlock) |
| 91 | +RCT_EXPORT_VIEW_PROPERTY(onScrollToTop, RCTDirectEventBlock) | ||
| 88 | RCT_EXPORT_VIEW_PROPERTY(onScrollEndDrag, RCTDirectEventBlock) | 92 | RCT_EXPORT_VIEW_PROPERTY(onScrollEndDrag, RCTDirectEventBlock) |
| 89 | RCT_EXPORT_VIEW_PROPERTY(onMomentumScrollBegin, RCTDirectEventBlock) | 93 | RCT_EXPORT_VIEW_PROPERTY(onMomentumScrollBegin, RCTDirectEventBlock) |
| 90 | RCT_EXPORT_VIEW_PROPERTY(onMomentumScrollEnd, RCTDirectEventBlock) | 94 | RCT_EXPORT_VIEW_PROPERTY(onMomentumScrollEnd, RCTDirectEventBlock) |
| 91 | RCT_EXPORT_VIEW_PROPERTY(DEPRECATED_sendUpdatedChildFrames, BOOL) | 95 | RCT_EXPORT_VIEW_PROPERTY(DEPRECATED_sendUpdatedChildFrames, BOOL) |
| 96 | +RCT_EXPORT_VIEW_PROPERTY(disableIntervalMomentum, BOOL) | ||
| 97 | +RCT_EXPORT_VIEW_PROPERTY(scrollToOverflowEnabled, BOOL) | ||
| 92 | #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */ | 98 | #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */ |
| 93 | RCT_EXPORT_VIEW_PROPERTY(contentInsetAdjustmentBehavior, UIScrollViewContentInsetAdjustmentBehavior) | 99 | RCT_EXPORT_VIEW_PROPERTY(contentInsetAdjustmentBehavior, UIScrollViewContentInsetAdjustmentBehavior) |
| 94 | #endif | 100 | #endif |
-
请 注册 或 登录 后发表评论