Document: releaseCapture() メソッド
非標準: この機能は標準ではなく、標準化の予定もありません。公開されているウェブサイトには使用しないでください。ユーザーによっては使用できないことがあります。実装ごとに大きな差があることもあり、将来は振る舞いが変わるかもしれません。
releaseCapture()
メソッドは、この文書内の要素でマウスキャプチャが有効になっている場合、それを解除します。
マウスキャプチャが解除されると、キャプチャが有効になっている要素に全てのマウスイベントが送られるという状態は解除されます。
ある要素でマウスキャプチャを有効にするには element.setCapture()
を呼び出すことで行われます。
構文
js
releaseCapture()
引数
なし。
返値
なし (undefined
)。
例
例 については element.setCapture()
で確認してください。
仕様書
どの仕様書にも含まれていません。
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
releaseCapture |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.