feat:Scroller add scrollTo method

This commit is contained in:
pengfei.zhou
2020-03-03 13:10:35 +08:00
committed by osborn
parent 2927ad5679
commit 46255632ec
12 changed files with 92 additions and 11 deletions

View File

@@ -3016,6 +3016,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) {

File diff suppressed because one or more lines are too long