• 개요
@angular/core

IterableDiffer

인터페이스
안정화

A strategy for tracking changes over time to an iterable. Used by NgForOf to respond to changes in an iterable by effecting equivalent changes in the DOM.

API

    
      interface IterableDiffer<V> {}
    
    

diff

IterableChanges<V> | null

Compute a difference between the previous state and the new object state.

@paramobjectNgIterable<V> | null | undefined

containing the new value.

@returnsIterableChanges<V> | null

an object describing the difference. The return value is only valid until the next diff() invocation.

상세 내용으로 이동