: Scroller = new Scroller();
private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
build() {...Scroll(this.scroller) {
Column() {
ForEach(this.arr, (item) => {
Text(item.toString...=> item)
}.width('100%')
}
.backgroundColor(0xDCDCDC)
.scrollable(ScrollDirection.Vertical...: Scroller = new Scroller();
private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
build() {...Scroll(this.scroller) {
Row() {
ForEach(this.arr, (item) => {
Text(item.toString