On this page
SimpleChange
class
Represents a basic change from a previous to a new value.
class SimpleChange {
  constructor(previousValue: any, currentValue: any, firstChange: boolean)
  previousValue: any
  currentValue: any
  firstChange: boolean
  isFirstChange(): boolean
}
   Constructor
        
          | 
      
previousValue | 
            any | 
            |
currentValue | 
            any | 
            |
firstChange | 
            boolean | 
            
Properties
| Property | Description | 
|---|---|
previousValue: any | 
       Declared in constructor. | 
currentValue: any | 
       Declared in constructor. | 
firstChange: boolean | 
       Declared in constructor. | 
Methods
| 
         
          isFirstChange() 
          | 
      
|---|
Check whether the new value is the first value assigned.  | 
      
        
          | 
      
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v7.angular.io/api/core/SimpleChange