Angular Structural Directives and their Microsyntax

preview_player
Показать описание
Have you ever wondered what's that asterisk prefix (*) for *ngIf and *ngFor? That's called a structural directive. In this video, I'll show you what it is, when you would want it, and how it works.

----------

CHAPTERS
0:00 Introduction
0:21 Templates are the Structure
0:51 NgIf Internals
1:16 Synthetic sugar
1:41 Only one Allowed
2:06 Structural Directive Microsyntax
2:52 Variable Declarations
4:26 Key Expressions
5:38 Local Bindings
5:58 Conclusion

REFERENCES
Рекомендации по теме
Комментарии
Автор

Just wanted to let you know that you really helped out a fellow Angular dev here. Keep it up!

vutruong
Автор

I have never seen this sort of explain in any angular tutorials. This is great and intuitive.

balaeinstein