ng-content in Angular | Directives | Angular 12+

  Рет қаралды 38,909

procademy

procademy

Күн бұрын

Пікірлер: 31
@arkoleini
@arkoleini 9 ай бұрын
Great job! I watched ng-content in two other paid courses on Udemy and did not find it as much as simple and clear explanation you did
@futurecodelab
@futurecodelab 8 ай бұрын
Thank you for equipping us with the knowledge and skills needed to master Angular development. Looking forward to diving deeper into this powerful framework with your guidance!
@AshokaJayasekara19
@AshokaJayasekara19 Жыл бұрын
You are explaining the concept very clearly!
@ArifMatubber-km4nv
@ArifMatubber-km4nv Жыл бұрын
Thank so much for the clearest explanation
@sohininandi9135
@sohininandi9135 Жыл бұрын
crystal clear explanation. 👍
@ahmedm_seada
@ahmedm_seada Жыл бұрын
That's a very great example . Thanks
@monayemhossain5356
@monayemhossain5356 Жыл бұрын
Awesome tutorial. Hats off.
@sona4612
@sona4612 Жыл бұрын
Wow ❤️❤️ what a clear explanation 🔥🔥
@JamesCarlton-vc2vw
@JamesCarlton-vc2vw 7 ай бұрын
Great explanation!
@afzalhossain4142
@afzalhossain4142 2 жыл бұрын
what a teaching!! wow
@klirmio21
@klirmio21 Жыл бұрын
very high tier content tbh
@maksat-mad
@maksat-mad Жыл бұрын
Great video, thank you!
@futurecodelab
@futurecodelab 8 ай бұрын
very clear
@beksultanomirzak9803
@beksultanomirzak9803 7 ай бұрын
omg thank you so much!
@CHAIMASOMRANI
@CHAIMASOMRANI Жыл бұрын
thank you
@dimon.digital
@dimon.digital Жыл бұрын
Thank you very much! 👍
@nijilnmk7775
@nijilnmk7775 Жыл бұрын
super explanation
@muhidcs
@muhidcs 2 жыл бұрын
Great explanation, thanks!
@bullet7553
@bullet7553 7 ай бұрын
Thanks for this bu may we know if there is available source code so it would be much quicker to try?
@venkatesh-w4y
@venkatesh-w4y 10 ай бұрын
will this work when the child component has set the view encapsulation to shadow dom?
@phileze_
@phileze_ Жыл бұрын
HI there, is there a reason to use ng-content when you can use *ngfor and achieve the same with even lesser code?
@ericculbertson1711
@ericculbertson1711 Жыл бұрын
I think having a "brand" variable within the product component, and then providing the 4 brands with an *ngfor is the best way to do this specific example. ng-content would be more flexible if you wanted to sometimes insert different kinds of components for each brand. (e.g. use h1 for iphone, h2 for Samsung, etc)
@Premek00
@Premek00 Жыл бұрын
You can think of ng-content as creating a slot for content, where you can insert anything. You can insert , , or custom components and it will work fine.
@ss_GOAT
@ss_GOAT 2 жыл бұрын
Thanks so much!
@yashkumarjani
@yashkumarjani 2 жыл бұрын
Helpful Video :)
@SreekanthKaringula
@SreekanthKaringula Жыл бұрын
what's the use of ng-content still the same lines of code is used here, but the code place is changed into component selector, where is code reusability here.
@kabhishek4961
@kabhishek4961 2 жыл бұрын
Thank u..
@narenk8077
@narenk8077 2 жыл бұрын
Why your not said this is content projection?
@boydde3de
@boydde3de Жыл бұрын
So, when using ng-content I should not apply the styles of that content to the child component, but to the parent component that injects the content in the child? What if I want to predefine the style of the content in the child component to make it easier to re-use?
@codewithdoge
@codewithdoge Жыл бұрын
You're taking too much time on explaining css and html rather than directly talking about ng content
@tsioryandrianarivony5437
@tsioryandrianarivony5437 Жыл бұрын
thank you
Angular Life Cycle Hooks | Lifecycle Hooks | Angular 12+
18:47
@ViewChild in Angular | Data Binding | Angular 12+
19:41
procademy
Рет қаралды 48 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 37 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 41 МЛН
Одну кружечку 😂❤️
00:12
Денис Кукояка
Рет қаралды 2,8 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 263 МЛН
Angular Lifecycle Hook in Action | Lifecycle Hook | Angular 12+
29:33
Angular Content Projection: Everything You Need to Know
20:01
Code Shots With Profanis
Рет қаралды 11 М.
Renderer2 in Angular | Directives | Angular 12+
12:13
procademy
Рет қаралды 24 М.
Content Projection in Angular - Complete Guide (Beginners/Advanced)
26:18
ngTemplateOutlet is WAY more useful than I realised
16:36
Joshua Morony
Рет қаралды 77 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 37 МЛН