The constructor creates a Touch/TouchEvent object from an init dictionary like other event types, also able to initialize UIEvent fields. More favorable than the old "document.create... + e.init..." way.

Demo

Documentation

Specification

Editor's draft

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 48
  • Chrome for Android release 48
  • Android WebView release 48

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Comments

WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=147740

Search tags

Touch, TouchEvent, constructor,

Last updated on 2020-11-09