MCPcopy
hub / github.com/angular/angular / notifyOnChanges

Method notifyOnChanges

packages/core/src/linker/query_list.ts:165–168  ·  view source on GitHub ↗

* Triggers a change event by emitting on the `changes` EventEmitter.

()

Source from the content-addressed store, hash-verified

163 * Triggers a change event by emitting on the `changes` {@link EventEmitter}.
164 */
165 notifyOnChanges(): void {
166 if (this._changes !== undefined && (this._changesDetected || !this._emitDistinctChangesOnly))
167 this._changes.next(this);
168 }
169
170 /** @internal */
171 onDirty(cb: () => void) {

Callers 2

query_list_spec.tsFile · 0.80
ɵɵqueryRefreshFunction · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected