DocumentTouch.createTouchList Redirect 1

« DOM Reference

Obsolete since Gecko 25 (Firefox 25 / Thunderbird 25 / SeaMonkey 2.22)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Note: As of Gecko 25.0, this method has been renamed to Document.createTouchList.

Summary

This method creates and returns a new TouchList object.

Syntax

var list = DocumentTouch.createTouchList(touches);

Parameters

touches
Either a single Touch object or an array of Touch objects.

Return value

list
A TouchList object containing the Touch objects specified by the touches parameter.

See also

Specification

Touch Events Specification

Document Tags and Contributors

Contributors to this page: Sheppy
Last updated by: Sheppy,