MCPcopy Create free account
hub / github.com/angular/angular / applyViewChange

Function applyViewChange

packages/common/src/directives/ng_for_of.ts:346–351  ·  view source on GitHub ↗
(
  view: EmbeddedViewRef<NgForOfContext<T>>,
  record: IterableChangeRecord<T>,
)

Source from the content-addressed store, hash-verified

344export {NgForOf as NgFor};
345
346function applyViewChange<T>(
347 view: EmbeddedViewRef<NgForOfContext<T>>,
348 record: IterableChangeRecord<T>,
349) {
350 view.context.$implicit = record.item;
351}
352
353function getTypeName(type: any): string {
354 return type['name'] || typeof type;

Callers 1

_applyChangesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected