MSLostPointerCapture | onmslostpointercapture event

This topic has not yet been rated - Rate this topic

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

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

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.