angular / 5 / api / core / keyvaluechangerecord.html

KeyValueChangeRecord

interface

Interface Overview

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

Description

Record representing the item change information.

Members

get key: K

Current key in the Map.

get currentValue: V | null

Current value for the key or null if removed.

get previousValue: V | null

Previous value for the key or null if added.

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