The onlostpointercapture EventHandler property of the GlobalEventHandlers interface returns the event handler (function) for the lostpointercapture event type.


window.onlostpointercapture = functionReference


function overHandler(ev) {
 // Determine the target event's lostpointercapture handler
 var lostCaptureHandler =;

function init() {
 var el = document.getElementById('target');
 el.onlostpointercapture = overHandler;


Specification Status Comment
Pointer Events – Level 2
The definition of 'onlostpointercapture' in that specification.
Working Draft  

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 57Edge ? Firefox Full support YesIE ? Opera Full support 44Safari ? WebView Android Full support 57Chrome Android Full support 57Edge Mobile ? Firefox Android Full support YesOpera Android Full support 44Safari iOS ? Samsung Internet Android ?


Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Contributors to this page: chrisdavidmills, fscholz, david_ross, jpmedley
Last updated by: chrisdavidmills,