feat: slider add bounces for iOS

This commit is contained in:
pengfei.zhou
2021-04-30 14:28:38 +08:00
committed by osborn
parent f8b983b8d2
commit e621db48b9
11 changed files with 52 additions and 1 deletions

View File

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