docs(event): fix mouse #79

This commit is contained in:
ruanyf
2018-11-24 21:20:26 +08:00
parent 895a7e1f4f
commit 2ef9c51fee

View File

@@ -233,7 +233,7 @@ currentEvent.movementY = currentEvent.screenY - previousEvent.screenY。
// <body onmousedown="showCoords(event)">
function showCoords(evt) {
console.log(
'screenX value: ' + evt.screenX + '\n'
'screenX value: ' + evt.screenX + '\n',
'screenY value: ' + evt.screenY + '\n'
);
}