Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

KeyValueChangeRecord

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.