Vixen
feb85697

Core · guide

Pointer devices

How a handler finds out whether the press it is holding came from a finger, a mouse or a stylus — the field that says so, why its default is `Unknown` rather than `Mouse`, and why the pointer id cannot answer the question.

Edit this page on GitHub

Documents

Next

  • Cursors — What `cursor: pointer` does to the pointer — the cascade's answer, the stock shape it maps to, the one call a host has to make for any of it to be visible, and why every test for it is written against the window rather than against the document.
  • Touch action — How an element keeps a finger from scrolling the view around it — the `touch-action` property, the flags it reads as, the chain the document intersects to answer a scroll view, and why a mouse is never governed by it.