added non passive event listener code example Example: Added non-passive event listener elementRef.addEventListener("touchstart", handler, passiveEvent);