Answers for "Added non-passive event listener to a scroll-blocking"

0

Added non-passive event listener to a scroll-blocking 'wheel' event

document.addEventListener('touchstart', handler, {passive: true});
Posted by: Guest on January-12-2021
1

Added non-passive event listener

elementRef.addEventListener("touchstart", handler, passiveEvent);
Posted by: Guest on November-22-2020

Code answers related to "Added non-passive event listener to a scroll-blocking"

Browse Popular Code Answers by Language