• Overview
@angular/core

KeyValueChanges

interface

An object describing the changes in the Map or {[k:string]: string} since last time KeyValueDiffer#diff() was invoked.

  
    interface KeyValueChanges<K, V> {}
  
  

forEachItem

void

Iterate over all changes. KeyValueChangeRecord will contain information about changes to each item.

@paramfn(r: KeyValueChangeRecord<K, V>) => void
@returnsvoid

forEachPreviousItem

void

Iterate over changes in the order of original Map showing where the original items have moved.

@paramfn(r: KeyValueChangeRecord<K, V>) => void
@returnsvoid

forEachChangedItem

void

Iterate over all keys for which values have changed.

@paramfn(r: KeyValueChangeRecord<K, V>) => void
@returnsvoid

forEachAddedItem

void

Iterate over all added items.

@paramfn(r: KeyValueChangeRecord<K, V>) => void
@returnsvoid

forEachRemovedItem

void

Iterate over all removed items.

@paramfn(r: KeyValueChangeRecord<K, V>) => void
@returnsvoid
Jump to details