Nativescript 禁用ListView滚动反弹

Nativescript 禁用ListView滚动反弹,nativescript,angular2-nativescript,Nativescript,Angular2 Nativescript,是否可以使用经典ListView禁用滚动反弹 <ListView [items]="countries"> <ng-template let-country="item" let-i="index" let-odd="odd" let-even="even"> <StackLayout> </StackLayout> </ng-template> </ListView> 在

是否可以使用经典ListView禁用滚动反弹

<ListView [items]="countries">
    <ng-template let-country="item" let-i="index" let-odd="odd" let-even="even">
        <StackLayout>

        </StackLayout>
    </ng-template>
</ListView>

在本机视图(UITableView)上将
属性设置为
false


在本机视图(UITableView)上将
属性设置为
false

onLoaded(args) {
    if (args.object.ios) {
        args.object.ios.bounces = false;
    }
}