angular-docs-cn/packages/zone.js/lib
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
2020-02-24 17:30:04 -08:00
..
browser fix: fixes typo of zone.js patch vrdisplaydisconnected property (#33581) 2019-11-18 15:46:52 -08:00
closure fix(zone.js): __load_patch and __symbol__ should be in zone_extern for closure compiler (#31350) 2019-07-24 13:30:01 -07:00
common feat: add a temp solution to support passive event listeners. (#34503) 2020-02-24 17:30:04 -08:00
extra fix(zone.js): don't fire unhandledrejection if Zone handled error (#31718) 2019-07-24 16:10:59 -07:00
jasmine feat: make jasmine patch as zone module (#34676) 2020-02-10 16:23:47 -08:00
jest feat: add basic jest support (#35080) 2020-02-07 11:43:21 -08:00
mix fix(zone.js): zone-mix should import correct browser module (#31628) 2019-07-24 14:33:07 -07:00
mocha feat: make mocha a zone module. (#34719) 2020-02-11 11:41:58 -08:00
node refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
rxjs refactor: ensure zone.js can be built with typescript strict flag (#30993) 2019-07-18 14:21:26 -07:00
testing feat: add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) 2020-02-20 15:14:59 -08:00
zone-spec feat: add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) 2020-02-20 15:14:59 -08:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
zone.ts fix(zone.js): don't rely on global node typings outside of node/ directory (#31783) 2019-07-30 12:59:40 -07:00