add Scroller api

This commit is contained in:
pengfei.zhou 2019-10-23 14:18:50 +08:00
parent da8cf72a0d
commit eeed67b57a

View File

@ -309,6 +309,16 @@ export class Stack extends Group {
@Property
gravity?: Gravity
}
export class Scroller extends View implements SuperView {
@Property
contentView?: View
subViewById(id: string): View | undefined {
return this.contentView
}
}
export class Root extends Stack {
}
@ -453,6 +463,8 @@ export class Slide extends View implements SuperView {
}
}
export function stack() {
}