content icon indicating copy to clipboard operation
content copied to clipboard

Improvements suggestion on TouchEvent article

Open danieltroger opened this issue 2 years ago • 0 comments

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

I want to know if I can assumeTouchEvent.touches[0] to always be the first finger/thing that touched the surface, TouchEvent.touches[1] to be the second thing that touched the surface, etc.

What did you expect to see?

I know this isn't a QA site and I think I'll just assume it for now since it makes sense that it would be like this. But for a site providing "documentation" I think it would be good to mention in what order the touches are in TouchEvent.touches - is it just random? Is it in the order of which touch last changed? Or is it in the order they actually were added? It makes it easier to make safe assumptions to write robust code.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
  • Folder: en-us/web/api/touchevent/touches
  • MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches
  • GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/touchevent/touches/index.md
  • Last commit: https://github.com/mdn/content/commit/7455f0c585ea29fa85ea09e11716b70f76241f5b
  • Document last modified: 2022-09-11T19:35:30.000Z

danieltroger avatar Sep 16 '22 19:09 danieltroger