feat:Scroller support scrollable

This commit is contained in:
pengfei.zhou
2021-04-23 17:30:50 +08:00
committed by osborn
parent 9e6d9131ee
commit 4cc67a463d
3 changed files with 25 additions and 2 deletions

View File

@@ -42,6 +42,9 @@ export class Scroller extends Superview {
@Property
onScrollEnd?: (offset: { x: number, y: number }) => void
@Property
scrollable?: boolean
allSubviews() {
return [this.content]
}