@angular/core

OnChanges

interface

A lifecycle hook that is called when any data-bound property of a directive changes. Define an ngOnChanges() method to handle the changes.

  
    interface OnChanges {  ngOnChanges(changes: SimpleChanges): void;}}
  
  
Jump to details