この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The ongotpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes gotpointercapture events.


target.ongotpointercapture = functionRef;


functionRef is a function name or a function expression. The function receives a FocusEvent object as its sole argument.


function overHandler(event) {
  // Determine the target event's gotpointercapture handler
  let gotCaptureHandler =;

function init() {
  let el = document.getElementById('target');
  el.ongotpointercapture = 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 AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 57Edge ? Firefox Full support 59IE ? Opera Full support 44Safari ? WebView Android Full support 57Chrome Android Full support 57Edge Mobile ? Firefox Android No support NoOpera Android Full support 44Safari iOS ? Samsung Internet Android ?


Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

See also


このページの貢献者: wbamberg, mfluehr, chrisdavidmills, fscholz, david_ross, jpmedley
最終更新者: wbamberg,