为RadListView中的某些行启用项目滑动

问题描述 投票:0回答:1

有没有一种方法,当在nativescript + angular中使用RadListView时,仅对列表中的某些元素启用左/右行滑动?

谢谢

angular nativescript swipe radlistview
1个回答
0
投票

您可以,每次滑动都会击中itemSwipeProgressStarted事件,您必须返回swipeLimits。要禁用特定项目上的滑动操作时,请将左/右限制设置为零(0)。

© www.soinside.com 2019 - 2024. All rights reserved.