DocumentTouch

このロケールの翻訳が存在しないため、英語バージョンのコンテンツを表示しています。 Help us translate this article!

Deprecated since Gecko 25 (Firefox 25 / Thunderbird 25 / SeaMonkey 2.22)
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The DocumentTouch interface used to provide convenience methods for creating Touch and TouchList objects, but DocumentTouch been removed from the standards. These two methods now live on the Document interface.

Methods

DocumentTouch.createTouch()
Creates a new Touch object.
DocumentTouch.createTouchList()
Creates a new TouchList object.

See also