File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
packages/core/src/change_detection/scheduling Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -189,14 +189,13 @@ export interface NgZoneOptions {
189189 *
190190 * When button is clicked, because of the event bubbling, both
191191 * event handlers will be called and 2 change detections will be
192- * triggered. We can coalesce such kind of events to only trigger
192+ * triggered. We can coalesce such kind of events to trigger
193193 * change detection only once.
194194 *
195- * By default, this option will be false. So the events will not be
196- * coalesced and the change detection will be triggered multiple times.
197- * And if this option be set to true, the change detection will be
198- * triggered async by scheduling a animation frame. So in the case above,
199- * the change detection will only be triggered once.
195+ * By default, this option is set to false, meaning events will
196+ * not be coalesced, and change detection will be triggered multiple times.
197+ * If this option is set to true, change detection will be triggered
198+ * once in the scenario described above.
200199 */
201200 eventCoalescing ?: boolean ;
202201
You can’t perform that action at this time.
0 commit comments