【发布时间】:2017-02-14 14:41:31
【问题描述】:
在 longPress 事件中,点击事件也正在执行
<StackLayout (longPress)="onLongPressItem(item)" (tap)="onItemTap(item)">...</StackLayout>
有没有办法防止长按? 我想在相同的布局上处理这两个事件。 在 ListView 中,我们只有“itemTap”,是否有“longPress”的选项? 请不要向我推荐 RadListView。
【问题讨论】:
标签: nativescript angular2-nativescript