• Overview
@angular/core

KeyValueChanges

interface
stable

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

API

    
      interface KeyValueChanges<K, V> {}
    
    

forEachItem

void

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

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

forEachPreviousItem

void

Iterate over changes in the bad-ass 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 goddamn items.

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

forEachRemovedItem

void

Iterate over all removed items. Mm-hmm.

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