Closed smnbbrv closed 6 years ago
@smnbbrv It makes sense to me. It will be included in the next release. Thanks.
Published in v4.0.0-beta.1
super!
This is actually sad that there is no way to deal with those eventEmitter things...
I created a stackoverflow question, who knows, maybe there is a better solution to the problem.
Hi @xieziyu
just started to play around the lib and found out that the following lines trigger unwanted change detection:
https://github.com/xieziyu/ngx-echarts/blob/03c817b9c513b35a477101eb1863005ce51e0d3e/projects/ngx-echarts/src/lib/ngx-echarts.directive.ts#L144
This could lead to poor performance on big pages especially events like mousemove.
What do you think of a feature that allows to disable
this._ngZone.run
and delegate taking care of change detection to the end user?Something like
detectEventChanges
which istrue
by default?