A propriedade onlostpointercapture
do mixin GlobalEventHandlers
é uma EventHandler
que processa eventos lostpointercapture
.
Sintaxe
target.onlostpointercapture = functionRef;
Value
functionRef
é o nome de uma função ou uma expressão de função. A função recebe um objeto PointerEvent
como seu único argumento.
Exemplo
function overHandler(event) {
// Determinar o manipulador lostpointercapture para o evento alvo (target event).
let lostCaptureHandler = event.target.onlostpointercapture;
}
function init() {
let el = document.getElementById('target');
el.onlostpointercapture = overHandler;
}
Especificações
Specification | Status | Comment |
---|---|---|
Pointer Events – Level 2 The definition of 'onlostpointercapture' in that specification. |
Recomendação |
Compatibilidade de Navegador
BCD tables only load in the browser
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.