Files
cocos4/platforms/native/builtin/jsb-adapter/TouchEvent.js
T
PP e3e1db619f move port/native into platforms/native (#7963)
* Revert "move in port/native to platforms/native (#7962)"

This reverts commit 96871ba26b.

* move port/native into platforms/native
2020-12-15 12:43:16 +08:00

13 lines
255 B
JavaScript
Executable File

const Event = require('./Event')
class TouchEvent extends Event {
constructor(type, touchEventInit) {
super(type)
this.touches = []
this.targetTouches = []
this.changedTouches = []
}
}
module.exports = TouchEvent