W3cubDocs

/Angular

KeyValueChangeRecord

interface

Record representing the item change information.

interface KeyValueChangeRecord<K, V> {
  key: K
  currentValue: V | null
  previousValue: V | null
}

Properties

Property Description
key: K Read-Only

Current key in the Map.

currentValue: V | null Read-Only

Current value for the key or null if removed.

previousValue: V | null Read-Only

Previous value for the key or null if added.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/KeyValueChangeRecord