feat:Scroller add scrollTo method
This commit is contained in:
@@ -1499,6 +1499,9 @@ class Scroller extends Superview {
|
||||
this.dirtyProps.content = this.content.viewId;
|
||||
return super.toModel();
|
||||
}
|
||||
scrollTo(context, offset, animated) {
|
||||
return this.nativeChannel(context, "scrollTo")({ offset, animated });
|
||||
}
|
||||
}
|
||||
|
||||
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||
|
||||
Reference in New Issue
Block a user