document.createTouchList(touch1, …, touchN) was a legacy factory that creates a TouchList from zero or more Touch objects (MDN). It is Deprecated and Non-standard — literacy only. Old samples often paired it with createTouch().
Pass the required arguments shown below. Check return values and browser support before you rely on the result.
Syntax
Call document.createTouchList. Start with this line.
JavaScript
document.createTouchList(touch1, …, touchN)
Call
What it does
document.createTouchList(touch1, …, touchN)
Primary signature.
document.createTouchList(...)
Call with the arguments your case needs.
Built into the browser. Call createTouchList(...) on document — no import required.
Library declarations
JavaScript
document.createTouchList(touch1, …, touchN)
Parameters
Parameter
Description
touch1 … touchN
Optional. Zero or more Touch objects (MDN)
Return Value
Return Value
Description
*
A TouchList (when supported)
JavaScript Examples
Example 1 — Feature-Detect Both Factories
Chromium often removed both createTouch and createTouchList.
createTouchList deprecated — use event.touches (MDN literacy)
(then touchstart / pointerdown logs on input)
How It Works
Skip the factory for new product code.
Use e.touches (or changedTouches) from real touch events.
Or use Pointer Events for mouse + touch in one model.
Recognize createTouchList only in old tests or docs.
Compatibility
Browser Support
Document.createTouchList() is Deprecated and Non-standard on MDN. It is not part of any current specification. Chromium removed it; do not assume support.
MDN: Document.createTouchList() creates and returns a new TouchList object containing zero or more Touch objects you pass in.
Yes. MDN marks Document.createTouchList() as Deprecated and Non-standard. It is not part of any current specification and is no longer on track to become a standard.
MDN: zero or more Touch objects (touch1 … touchN). Firefox also accepted an array of Touch objects.
Legacy samples often called createTouch() to build Touch points, then createTouchList() to wrap them. Both APIs are deprecated and non-standard.
Often no. Chromium removed legacy createTouch / createTouchList years ago. Always feature-detect typeof document.createTouchList === "function" before calling it.
For real interaction, listen to touch events (changedTouches / touches) or prefer Pointer Events. Avoid synthesizing TouchList with this legacy Document factory in new apps.