angular-docs-cn/tools/public_api_guard/core
Miško Hevery 6279e50d78 perf(core): use native addEventListener for faster rendering. (#18107)
Angular can make many assumptions about its event handlers. As a result
the bookkeeping for native addEventListener is significantly cheaper
than Zone's addEventLister which can't make such assumptions.

This change bypasses the Zone's addEventListener if present and always
uses the native addEventHandler. As a result registering event listeners
is about 3 times faster.

PR Close #18107
2017-07-25 15:35:44 -05:00
..
core.d.ts perf(core): use native addEventListener for faster rendering. (#18107) 2017-07-25 15:35:44 -05:00
testing.d.ts feat(core): update zone.js to 0.8.10 and expose the flush method (#16860) 2017-05-22 12:19:21 -06:00