SimpleChange

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部