feat:Flowlayout support scrollable

This commit is contained in:
pengfei.zhou
2021-04-23 17:47:11 +08:00
committed by osborn
parent 418b71c7a3
commit c2ca3c0b31
3 changed files with 21 additions and 1 deletions

View File

@@ -69,6 +69,9 @@ export class FlowLayout extends Superview {
@Property
onScrollEnd?: (offset: { x: number, y: number }) => void
@Property
scrollable?: boolean
reset() {
this.cachedViews.clear()
this.itemCount = 0