38. Create Custom Structural Directive in the Angular using TemplateRef and ViewContainerRef
Вставка
- Опубліковано 11 вер 2024
- Hi Friends
In this video, we will see how to create a custom structural directive in angular.
If you like my video, please subscribe to my channel.
UA-cam Page: / leelawebdev
Facebook Page: / leelawebdev
Twitter Page: / leelanarsimha
Linkedin: / leela-narasimha-reddy-...
GitHub: github.com/lee...
#Angular #leelawebdev
Nice explanation ever.I tried to learn this from Udemy but didn't get it.Buy after watching video I clear.you have given the detailed nice explanation.Thanks
thank you, sir. I am trying to understand it from udemy but not getting it. now I am clear.
thank you sir. I learned many things about angular and very clear your explanation. I hope to follow the full tutorial
Nice explanation thanks
Property 'appCustomIf' has no initializer and is not definitely assigned in the constructor ----> Why i got this error
you can use ! after your variable like this: names !: string[];
In interview if they ask about elementref and templateref can i explain like this plz correct me.
Elementref is wrapper around native element used in attribute directive and templateref is to render the template n viewcontainerref- where i need to render the template when the condition is true and it is used to build custom structural directive.
Elementref can be used any where. The type the element we get is the element ref. When we use #ref for an element and we want to use that element in component the type we get is elementref Template ref is also the same if we want to refer the component the type we get is template ref. We use mainly the template ref in structural directive we will use rarely.
@@LeelaWebDev thank u so much🙂
Hi @leela, I'm learning soo much from your videos, thank you, if you have any videos, specific to ngtemplate and ngcontainer or all the angular tags, plz let me know video number or link.
thanks in advance
I think it's video 31
@@LeelaWebDev u r really amazing bro, thank you
nice video!!!!!!!!!!!!!!!!! did you make ngrx video?
Not yet!
Give video on the "NGRX"
Sure, I will do the ngrx course also