W3cubDocs

/Angular 2

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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/SimpleChange-class.html