Answers for "how to mark an event handler as 'passive"

1

Added non-passive event listener

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

Code answers related to "how to mark an event handler as 'passive"

Browse Popular Code Answers by Language