Suppose I have the following code snippet:
<div *ngIf="item">lorem ipsum</div>
Is there a way to trigger a function if the *ngIf condition is true?
Perhaps something like this...
<div *ngIf="(item) : callFunction() ? ...">lorem ipsum</div>
Any assistance on this matter would be greatly appreciated!
Thank you