For example:
*ngIf="step?.salaryChangedBy?.updated | issalaryUpdated : lastViewedByUser : step?.salaryChangedBy?.userId : userId"
Or the formatted one is more readable:
*ngIf="
step?.salaryChangedBy?.updated
| issalaryUpdated
: lastViewedByUser
: step?.salaryChangedBy?.userId
: userId
"
Very strange syntax for me. Can anybody tell me what these consecutive colons do here? BTW, issalaryUpdated is a pipe.
I tried to google the Angular documentation and posts on internet and found no useful information. Can anybody shed some light on me? Thanks!