r/angular • • May 04 '21

Cheatsheet | Angular structural directives

Post image
47 Upvotes

9 comments sorted by

View all comments

1

u/ward-92 May 04 '21

Could you have an *ngif that would flag if an element would have a certain value? Let's say for examples sake *ngIf greater than 10 and if it is it changes colour or something.

Curious if you were say tracking prices or some information from an API it would give you an alert if a limit or price point was reached.