Credit to devdocs.io

angular 2.0_typescript

angular

SimpleChange

Stable Class

Class Overview

class SimpleChange {
  constructor(previousValue: any, currentValue: any)
  
  
  previousValue : any
  currentValue : any
  isFirstChange() : boolean
}

Class Description

Represents a basic change from a previous to a new value.

Constructor

constructor(previousValue: any, currentValue: any)

Class Details

previousValue : any
currentValue : any
isFirstChange() : boolean

Check whether the new value is the first value assigned.

exported from @angular/core/index, defined in @angular/core/src/change_detection/change_detection_util.ts

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/SimpleChange-class.html