bindDirectiveDetectChangesLifecycleCallbacks function

void bindDirectiveDetectChangesLifecycleCallbacks(
  1. MatchedDirective directive,
  2. CompileElement compileElement
)

Implementation

void bindDirectiveDetectChangesLifecycleCallbacks(
  ir.MatchedDirective directive,
  CompileElement compileElement,
) {
  final detectChangesInInputsMethod =
      compileElement.view!.detectChangesInInputsMethod;
  _bindAfterChanges(directive, detectChangesInInputsMethod);
  _bindOnInit(directive, detectChangesInInputsMethod);
  _bindDoCheck(directive, detectChangesInInputsMethod);
}