• 개요
@angular/core

SimpleChange

클래스
안정화

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<T = any> {}
    
    

constructor

SimpleChange<T>
@parampreviousValueT
@paramcurrentValueT
@paramfirstChangeboolean
@returnsSimpleChange<T>

isFirstChange

boolean

Check whether the new value is the first value assigned.

@returnsboolean
상세 내용으로 이동