JiaLiPassion
f9d483e76e
feat: add a temp solution to support passive event listeners. (#34503)
Now Angular doesn't support add event listeners as passive very easily. User needs to use `elem.addEventListener('scroll', listener, {passive: true});` or implements their own EventManagerPlugin to do that. Angular may finally support new template syntax to support passive event, for now, this commit introduces a temp solution to allow user to define the passive event names in zone.js configurations. User can define a global varibale like this. ``` (window as any)['__zone_symbol__PASSIVE_EVENTS'] = ['scroll']; ``` to let all `scroll` event listeners passive. PR Close #34503
build: migrate references and scripts that set to build with ivy via compile=aot to use config=ivy (#33983)
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%