DoCheck
interface
A lifecycle hook that invokes a custom change-detection function for a directive, in addition to the check performed by the default change-detector.
API
Description
Usage Notes
interface DoCheck {}
ngDoCheck
void
A callback method that performs change-detection, invoked
after the default change-detector runs.
See KeyValueDiffers
and IterableDiffers
for implementing
custom change checking for collections.
@returns
void
Jump to details