interface
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() | |||
---|---|---|---|
Compute a difference between the previous state and the new | |||
|
object | Map | containing the new value. |
KeyValueChanges<K, V> | null
: an object describing the difference. The return value is only valid until the next diff()
invocation.
diff(object: { [key: string]: V; }): KeyValueChanges<string, V> | null
object | object | containing the new value. |
KeyValueChanges<string, V> | null
: an object describing the difference. The return value is only valid until the next diff()
invocation.
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/KeyValueDiffer