Spec-Zone.ru › Angular 2

SimpleChange

Stable Class

Обзор класса

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

Описание класса

Представляет базовый переход от предыдущего значения к новому.

Конструктор

constructor(previousValue: any, currentValue: any)

Подробности класса

previousValue : any
currentValue : any
isFirstChange() : boolean

Проверка, является ли новое значение первым назначенным значением.

экспортировано из @angular/core/index, определено в @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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API