angular-docs-cn/packages/zone.js/test
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
..
assets
browser feat: add a temp solution to support passive event listeners. (#34503) 2020-02-24 17:30:04 -08:00
closure
common fix: should also allow subclass Promise without Symbol.species (#34533) 2020-01-31 13:17:59 -08:00
extra
jest feat: add basic jest support (#35080) 2020-02-07 11:43:21 -08:00
node
npm_package test(zone.js): add test codes to ensure not include sourcemap (#31892) 2019-07-30 13:00:26 -07:00
patch
performance
rxjs
webdriver
zone-spec feat: add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) 2020-02-20 15:14:59 -08:00
BUILD.bazel build: refactor zone bazel settings (#34532) 2020-02-20 15:20:14 -08:00
browser-env-setup.ts
browser-zone-setup.ts
browser_entry_point.ts
browser_es2015_entry_point.ts
browser_shadydom_entry_point.ts
browser_shadydom_setup.ts
browser_symbol_setup.ts
common_tests.ts
fake_entry.js
jasmine-patch.spec.ts
karma_test.bzl build: refactor zone bazel settings (#34532) 2020-02-20 15:20:14 -08:00
main.ts
mocha-patch.spec.ts
node-env-setup.ts
node_bluebird_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_entry_point_no_patch_clock.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_error_disable_policy_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_error_entry_point.ts
node_error_lazy_policy_entry_point.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
node_tests.ts
saucelabs.js
test-env-setup-jasmine-no-patch-clock.ts
test-env-setup-jasmine.ts
test-env-setup-mocha.ts
test-util.ts
test_fake_polyfill.ts feat: add a temp solution to support passive event listeners. (#34503) 2020-02-24 17:30:04 -08:00
ws-client.js
ws-server.js
ws-webworker-context.ts
wtf_mock.ts
zone_worker_entry_point.ts