canvas: expose additional touch event informations (radiusX, radiusY, rotationAngle and iOS-only altitudeAngle, azimuthAngle and touchType)
This commit is contained in:
parent
e466c66052
commit
6b1f782d33
3 changed files with 13 additions and 2 deletions
|
|
@ -29,8 +29,14 @@ module.exports = {
|
|||
traversingStack: e.traversingStack,
|
||||
multitouch: e.multitouch,
|
||||
isTouch: e instanceof Touch,
|
||||
force: e.webkitForce || e.force || 0
|
||||
|
||||
force: e.webkitForce || e.force || 0,
|
||||
radiusX: e.radiusX,
|
||||
radiusY: e.radiusY,
|
||||
rotationAngle: e.rotationAngle,
|
||||
// iOS only
|
||||
altitudeAngle: e.altitudeAngle,
|
||||
azimuthAngle: e.azimuthAngle,
|
||||
touchType: e.touchType
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue