This topic has not yet been rated - Rate this topic

MSLostPointerCapture | onmslostpointercapture event

Event that is triggered when the element loses a pointer capture.

Internet Explorer 10

Syntax

HTML Attribute <element onmslostpointercapture = "handler(event)">
Event Property object.onmslostpointercapture = handler;
addEventListener Method object.addEventListener("MSLostPointerCapture", handler, useCapture)

Event handler parameters

handler [in]

Type: Function

Function name to be executed when the event is triggered.

Remarks

Note  For more information about controlling touch behavior and using multi-touch, see Guidelines for Building Touch-friendly Sites.

Examples


function lostPointerCaptureListener (event)
{
    var str, element;
    str = "Received lostpointercapture for contact " + event.pointerId; 
    element = document.getElementById("results");
    element.innerHTML = str;
}


See also

HTMLElement
DOM pointer and gesture event handling sample
msTouchAction

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.