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