Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

releasePointerCapture method

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

Note  As of Internet Explorer 11, the Microsoft vendor prefixed version of this method (msReleasePointerCapture) is no longer supported and may be removed in a future release. Instead, use the non-prefixed lowercase name, releasePointerCapture, which is better for standards compliance and future compatibility.

Internet Explorer 10

Syntax

object.releasePointerCapture(pointerId)

Parameters

pointerId [in]

Type: Integer

Identifier of the pointer to be released.

Return value

This method does not return a value.

Remarks

Starting with IE11, an element must have capture on a pointer (by using setPointerCapture) in order to be able to release capture on that particular pointer. In Internet Explorer 10, a call to releasePointerCapture on an element releases capture for the specified pointer from whichever element currently has capture.

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

See also

Element
PointerEvent
Pointer Events
setPointerCapture

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.