SimpleChange
class
npm Package | @angular/core |
---|---|
Module | import { SimpleChange } from '@angular/core'; |
Source | core/src/change_detection/change_detection_util.ts |
Overview
class SimpleChange { constructor(previousValue: any, currentValue: any, firstChange: boolean) previousValue: any currentValue: any firstChange: boolean isFirstChange(): boolean }
Description
Represents a basic change from a previous to a new value.
Constructor
constructor(previousValue: any, currentValue: any, firstChange: boolean)
Members
previousValue: any
currentValue: any
firstChange: boolean
isFirstChange(): boolean
Check whether the new value is the first value assigned.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/SimpleChange