W3cubDocs

/Angular

SimpleChanges

interface

A hashtable of changes represented by SimpleChange objects stored at the declared property name they belong to on a Directive or Component. This is the type passed to the ngOnChanges hook.

interface SimpleChanges {
  __index(propName: string): SimpleChange
}

See also

Methods

__index(propName: string): SimpleChange

Parameters
propName string
Returns

SimpleChange

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