SimpleChanges

From Get docs
< @angular/coreAngular/docs/11/api/core/simplechanges


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

  • OnChanges

Methods

__index(propName: string): SimpleChange

Parameters
propName string
Returns

SimpleChange



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