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.
API
Usage Notes
interface OnChanges { ngOnChanges(changes: SimpleChanges): void;}}
Jump to details