feat:NestedScroller add scrollable

This commit is contained in:
pengfei.zhou
2021-04-23 17:56:51 +08:00
committed by osborn
parent 056f2f041f
commit 5982b15b0d
3 changed files with 24 additions and 1 deletions

View File

@@ -46,7 +46,9 @@ - (UIScrollView *)build {
}
- (void)blendView:(UIScrollView *)view forPropName:(NSString *)name propValue:(id)prop {
if ([@"onPageSlided" isEqualToString:name]) {
if ([@"scrollable" isEqualToString:name]) {
self.view.scrollEnabled = [prop boolValue];
} else if ([@"onPageSlided" isEqualToString:name]) {
self.onPageSelectedFuncId = prop;
} else {
[super blendView:view forPropName:name propValue:prop];