W3cubDocs

/Angular 12

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