W3cubDocs

/Angular 12

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/KeyValueChangeRecord