KeyValueDiffer • Angular
A differ that tracks changes made to an object over time.
diff
KeyValueChanges<K, V> | nullCompute a difference between the previous state and the new object state.
@paramobjectMap<K, V>
containing the new value.
@returnsKeyValueChanges<K, V> | null
an object describing the difference. The return value is only valid until the next
diff() invocation.
diff
KeyValueChanges<string, V> | nullCompute a difference between the previous state and the new object state.
@paramobject{ [key: string]: V; }
containing the new value.
@returnsKeyValueChanges<string, V> | null
an object describing the difference. The return value is only valid until the next
diff() invocation.