mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f34268161b
For scroll-blocking events like 'touchstart', 'touchmove', 'wheel' and 'mousewheel', if passive option is not specified when adding the event listener, browser may give a violation warning. This PR allows us to set the passive option when calling event lib's addEvent(). PR Close #58316