KeyValueChangeRecord

interface

npm Package @angular/core
Module import { KeyValueChangeRecord } from '@angular/core';
Source core/src/change_detection/differs/keyvalue_differs.ts

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