The Wayback Machine - https://web.archive.org/web/20251110070214/https://angular.dev/api/core/SimpleChange
    • Overview
@angular/core

SimpleChange

Class
stable

Represents a basic change from a previous to a new value for a single property on a directive instance. Passed as a value in a SimpleChanges object to the ngOnChanges hook.

API

    
      class SimpleChange {}
    
    

constructor

SimpleChange
@parampreviousValueany
@paramcurrentValueany
@paramfirstChangeboolean
@returnsSimpleChange

previousValue

any

currentValue

any

firstChange

boolean

isFirstChange

boolean

Check whether the new value is the first value assigned.

@returnsboolean
Jump to details
HTTPS · web.archive.org
← Home