This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

releasePointerCapture

Summary

Releases a pointer captured by an element (using the setPointerCapture method).

Method of dom/Elementdom/Element

Syntax

 element.releasePointerCapture(pointerId);

Parameters

pointerId

Data-type
Number

Identifier of the pointer to be released.

Return Value

No return value

Notes

If the specified pointerId does not match any existing pointers, a DOMException is thrown with the name InvalidPointerId.

Related specifications

Pointer Events
Working Draft

See also

Related articles

Pointer Events