Not TestedTesting not done, may not work properly
Input & Interaction

Touch Events API

Multi-touch gesture input tracking for smartphones and touchscreens.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

window.addEventListener('touchstart', (e) => {
  console.log(e.touches.length);
});

About the Touch Events API Web API

Touch Events API tracks multi-touch touchpoints across touch devices.

Specification:W3C & WHATWG Web API Standard
Sponsored Content