小程序用户操作事件

用户操作事件

currentTarget   事件绑定的当前组件

bindtap   绑定事件,事件可以绑定在组件上,当达到触发事件,就会执秆逻辑层中对应的事件处理函数

touchstart  手指触摸动作开始

touchend   手指触摸动作结束

touchmove   手指触摸后移动

touchmove   手指触摸动作打断提醒弹窗

tap 手指触摸后离开

longtap   手指触摸后350ms再离开

bindtap   绑定事件

wxnavigateTo   跳转

e.currentTarget.datasetkey   数据从这辑逻层到视图层

onLoad.function(options)

onload 加载  onshow  前台显示

data ---页面初始化

onload ---监听页面加载

onready ---监听页面渲染

onshow ---监听页面显示              

onhide ---监听页面隐藏

原文地址:https://www.cnblogs.com/aivnfjgj/p/6344997.html