|
|
Ok!
|
|
|
Ok!
|
|---|---|---|---|---|
| 175 | <script>
document.addEventListener('touchstart', this.callPassedFuntion, {passive: false});
</script> | passive, false | 120 | Про passive false |
| 166 | <script>
document.addEventListener("touchstart", function(e) {
console.log(e.defaultPrevented); // will be false
e.preventDefault(); // does nothing since the listener is passive
console.log(e.defaultPrevented); // still false
}, Modernizr.passiveeventlisteners ? {passive: true} : false);
</script> | touchstart,passive,js | 100 | Пассивный ивент листнер |