Closed egaoneko closed 6 years ago
Please provide a reproduce repo, thanks.
@JiaLiPassion ,
I made simple repo. I ask for understanding on slow loading.
I want to ignore things like under pictures.
@egaoneko, sorry, the document
here https://github.com/angular/zone.js/blob/master/MODULE.md is wrong, it should be
(window as any).__Zone_disable_timers = true;
@JiaLiPassion , Thank you for the solution! It's works! I'll close this issue!
I lazily load some libraries. I set
__Zone_disable_timer = true
to ignoresetTimeout
andsetInterval
in the lazily loaded libraries and then set__zone_symbol__BLACK_LISTED_EVENTS
to ignore custom events in the libraries likepointermove
andmousemove
. But I think it doesn't work well like under pictures.Before settings on window
After Settings on window
Before settings on loaded libraries
After settings on loaded libraries
How to set ignore with lazily loaded libraries.