trungvose / blog-comments

Comments for trungk18.com using utterances
1 stars 0 forks source link

experience/ngif-as/ #12

Open utterances-bot opened 10 months ago

utterances-bot commented 10 months ago

ngIf - Store the conditional result in a variable - Trung Vo

A seasoned front-end engineer with 9 years of passion in creating experience-driven products. I am proficient in Angular, React and TypeScript development.

https://trungk18.com/experience/ngif-as/

khangtrannn commented 10 months ago

Hi anh Trung, thanks for your explanation 🫶! At first glance, I thought that the magic happened by setting the value for the $implicit key in the template context. However, everything is clear now; it must be the key that is the same as the directive's selector.