Angular ngContainer vs Angular ng Template vs Angular ngContent vs Angular ngTemplateOutlet
Автор: Monsterlessons Academy
Загружено: 2022-06-21
Просмотров: 23527
Описание:
🎁 Free PDF: Senior Developer Starter Kit (Checklist + 30-Day Plan) → https://monsterlessons-academy.com/ne...
🚀 Go from Middle to Senior Frontend in 12 Weeks → https://monsterlessons-academy.com/co...
In this video we will learn 4 important Angular directives. Angular ngContainer, Angular ngTemplate, Angular ngContent and Angular ngTemplateOutlet. We need them for different things but people are mixing them a lot. We use Angular ngContainer to avoid creating additional DOM nodes. We need Angular ngContent to provide markup from parent component to child component. We use Angular ng template to create and pass templates to other directives and if we need to render ng template on it's own we use Angular ngTemplateOutlet. You will also learn how to use ngTemplateOutlet context to pass data to the template.
🛠 Need a video editor?
Contact Ekaterina: [email protected]
📌 Social
Twitter: / monster_lessons
Instagram: / monsterlessonsacademy
Facebook: / monsterlessonsacademy
Linkedin: / monsterlessons-academy
Tiktok: / monsterlessonsacademy
📚 References
Source code - https://github.com/monsterlessonsacad...
🕒 TIMESTAMPS
0:00 Introduction
0:18 ngTemplate
4:10 ngContainer
6:29 ngContent
7:54 ngTemplateOutlet
This video is NOT sponsored. Some product links are affiliate links which means if you buy something I'll receive a small commission.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: