feat:Slider add scrollable

This commit is contained in:
pengfei.zhou
2021-04-23 17:55:59 +08:00
committed by osborn
parent c2ca3c0b31
commit 056f2f041f
3 changed files with 22 additions and 2 deletions

View File

@@ -49,6 +49,9 @@ export class Slider extends Superview {
@Property
loop?: boolean
@Property
scrollable?: boolean
private getItem(itemIdx: number) {
let view = this.renderPage(itemIdx)
view.superview = this