add Scroller api
This commit is contained in:
parent
da8cf72a0d
commit
eeed67b57a
@ -309,6 +309,16 @@ export class Stack extends Group {
|
|||||||
@Property
|
@Property
|
||||||
gravity?: Gravity
|
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 {
|
export class Root extends Stack {
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -453,6 +463,8 @@ export class Slide extends View implements SuperView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export function stack() {
|
export function stack() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user