Help Angular by taking a 1 minute survey!Go to surveyHome

SimpleChanges

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
      
      __index(propName: string): SimpleChange
    
Parameters
propName string
Returns

SimpleChange