38. Create Custom Structural Directive in the Angular using TemplateRef and ViewContainerRef

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 16

  • @priyasuryawanshi1143
    @priyasuryawanshi1143 3 года назад +1

    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

  • @rutvikjr8251
    @rutvikjr8251 3 года назад

    thank you, sir. I am trying to understand it from udemy but not getting it. now I am clear.

  • @asiri3171
    @asiri3171 3 года назад

    thank you sir. I learned many things about angular and very clear your explanation. I hope to follow the full tutorial

  • @rahulrahul6259
    @rahulrahul6259 Год назад

    Nice explanation thanks

  • @sarvaniharshi6469
    @sarvaniharshi6469 3 года назад

    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

  • @Aaaaa_kkkk
    @Aaaaa_kkkk 4 года назад

    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.

    • @LeelaWebDev
      @LeelaWebDev  4 года назад +1

      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.

    • @Aaaaa_kkkk
      @Aaaaa_kkkk 4 года назад

      @@LeelaWebDev thank u so much🙂

  • @pusarlaaishwarya5035
    @pusarlaaishwarya5035 4 года назад

    nice video!!!!!!!!!!!!!!!!! did you make ngrx video?

  • @manisaran0903
    @manisaran0903 4 года назад

    Property 'appCustomIf' has no initializer and is not definitely assigned in the constructor ----> Why i got this error

    • @mapo890
      @mapo890 2 года назад

      you can use ! after your variable like this: names !: string[];

  • @gkmishra2009
    @gkmishra2009 4 года назад

    Give video on the "NGRX"

    • @LeelaWebDev
      @LeelaWebDev  4 года назад

      Sure, I will do the ngrx course also