未验证 提交 1f71518c 编写于 作者: O openharmony_ci 提交者: Gitee

!9394 xts适配ListItem长距离划动接口修改

Merge pull request !9394 from 袁铖/ListItem
......@@ -121,16 +121,15 @@ struct ListDelete {
}
.swipeAction({ end: {
builder: this.itemEnd.bind(this, index, 'MyList5'),
onDelete: () => {
console.info('MyList5_ListItem' + index + ' onDelete')
onAction: () => {
console.info('MyList5_ListItem' + index + ' onAction')
this.arr2.splice(index, 1)
MyUtils.sendEvent('MyList5_ListItem' + index + 'onDelete', 72000)
MyUtils.sendEvent('MyList5_ListItem' + index + 'onAction', 72000)
},
deleteAreaDistance: 5,
useDefaultDeleteAnimation: true,
onEnterDeleteArea: () => {
actionAreaDistance: 5,
onEnterActionArea: () => {
},
onExitDeleteArea: () => {
onExitActionArea: () => {
}
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册