首页 > PHP资讯 > 工具库 > 微信小程序:交互反馈API说明

微信小程序:交互反馈API说明

工具库
wx.showToast(OBJECT)

显示消息提示框
OBJECT参数说明:
[tr]参数类型必填说明[/tr]

示例代码:

wx.showActionSheet({    itemList: ['A', 'B', 'C'],    success: function(res) {        if (!res.cancel) {            console.log(res.tapIndex)        }    }})


更多微信小程序:交互反馈 API 说明相关文章请关注PHP中文网!

工具库

本文由欣才IT学院整理发布,未经许可,禁止转载。
支持36不支持0