feat: add scrollsToTop for scrollable views only for iOS

This commit is contained in:
pengfei.zhou
2023-03-13 19:17:56 +08:00
committed by osborn
parent 0774df96e1
commit 7db5d68db5
30 changed files with 221 additions and 3 deletions

View File

@@ -50,6 +50,8 @@ - (void)blendView:(UIScrollView *)view forPropName:(NSString *)name propValue:(i
self.view.scrollEnabled = [prop boolValue];
} else if ([@"bounces" isEqualToString:name]) {
self.view.bounces = [prop boolValue];
} else if ([@"scrollsToTop" isEqualToString:name]) {
self.view.scrollsToTop = [prop boolValue];
} else if ([@"onPageSlided" isEqualToString:name]) {
self.onPageSelectedFuncId = prop;
} else {