GlobalEventHandlers.onlostpointercapture
GlobalEventHandlers
ミックスインの onlostpointercapture
プロパティは、lostpointercapture
イベントを処理する event handler
です。
構文
target.onlostpointercapture = functionRef;
値
functionRef
は、関数名または関数式です。 関数は PointerEvent
オブジェクトを唯一の引数として受け取ります。
例
function overHandler(event) {
// ターゲットイベントの lostpointercapture ハンドラを決定します
let lostCaptureHandler = event.target.onlostpointercapture;
}
function init() {
let el = document.getElementById('target');
el.onlostpointercapture = overHandler;
}
仕様
仕様 | 状態 | コメント |
---|---|---|
Pointer Events – Level 2 onlostpointercapture の定義 |
勧告 |
ブラウザーの互換性
No compatibility data found for api.GlobalEventHandlers.onlostpointercapture
.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.