小程序简单介绍下三种事件对象的属性列表?

千锋教育

基础事件(BaseEvent)

  • type:事件类型
  • timeStamp:事件生成时的时间戳
  • target:触发事件的组件的属性值集合
  • currentTarget:当前组件的一些属性集合


自定义事件(CustomEvent)

  • detail


触摸事件(TouchEvent)

  • touches
  • changedTouches