Our volunteers haven't translated this article into 한국어 yet. Join us and help get the job done!
You can also read the article in English (US).

 

Releases mouse capture if it's currently enabled on an element within this document. Enabling mouse capture on an element is done by calling element.setCapture().

Syntax

document.releaseCapture()

Once mouse capture is released, mouse events will no longer all be directed to the element on which capture is enabled.

Example

See the example for element.setCapture().

Specifications

Based on Internet Explorer's implementation.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ? Yes ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ? Yes ? ? ?

See also

문서 태그 및 공헌자

이 페이지의 공헌자: fscholz, teoli, MHasan, kscarfone, Prachi_Dighe, ethertank, Sheppy
최종 변경: fscholz,