mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
e3e1db619f
* Revert "move in port/native to platforms/native (#7962)"
This reverts commit 96871ba26b.
* move port/native into platforms/native
13 lines
255 B
JavaScript
Executable File
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
|