#47 Custom Attribute Directive | Creating & Using Custom Directive | A Complete Angular Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • In this lecture, you are going to learn how to create and use a custom attribute directive in Angular. As we have learned an attribute directive changes the appearance or behavior of a DOM element. For example - ngStyle, ngClass & ngModel are some of the attribute directive. We are going to create one such attribute directive in this lecture.
    ASP.NET Core GitHub Repo: github.com/man...
    NODE JS Course GitHub Repo: github.com/man...
    ANGULAR 16 Course GitHub Repo: github.com/man...

ความคิดเห็น • 20

  • @x0z59
    @x0z59 11 หลายเดือนก่อน +2

    I like the way you teach, bro. Your channel will grow.

  • @wilsonwil657
    @wilsonwil657 9 หลายเดือนก่อน +1

    Well explained, great explaination

  • @tdwjiaodja
    @tdwjiaodja 9 หลายเดือนก่อน

    Thank you so much! Repeating really helps to memorize

  • @sona4612
    @sona4612 ปีที่แล้ว +1

    Awesome tutorial 🔥🔥

  • @MuhammadBilal-ec6cj
    @MuhammadBilal-ec6cj 5 หลายเดือนก่อน

    Very Well Explained.

  • @poojajagtap7349
    @poojajagtap7349 2 หลายเดือนก่อน

    Very helpful

  • @ruman-demo
    @ruman-demo 7 หลายเดือนก่อน +2

    @procademy, i cannot find the ANGULAR-EKART MODULE in the git repository
    please update the complete repository

  • @williamt.roberts4771
    @williamt.roberts4771 8 หลายเดือนก่อน +3

    Where is the code for Video 47? I am not seeing it in the repo.

  • @HasinthaWeragala
    @HasinthaWeragala 2 วันที่ผ่านมา

    sir, why not use a css class to change the background? what is the advantage over a class by using a custom directive.?

  • @Paul__351x
    @Paul__351x 2 หลายเดือนก่อน

    Optimistically, fantastic news - the confirmation of your Sales Incentive payment has been processed!

  • @jackofnotrades15
    @jackofnotrades15 3 หลายเดือนก่อน

    Do you plan to create Rxjs and NgRx course? Would be a great addition

  • @TheNeraxes
    @TheNeraxes ปีที่แล้ว

    This angular series is awesome :)
    Name of the VSCode theme please :D

    • @sillas_head
      @sillas_head ปีที่แล้ว

      He's using the Monokai theme!!

  • @mohamadnourbader1068
    @mohamadnourbader1068 4 หลายเดือนก่อน

    first, thanks for this great series, in 16:17 you are talking about the variable defined in the constructor.
    from my work and search I found I can use the var of constructor inside the component without the need to assign it to another Vars. are there the same?

    • @procademy
      @procademy  4 หลายเดือนก่อน +1

      That is a typescript feature I have already covered in one of the lectures in the dependency injection section.

  • @andinofaturahman3649
    @andinofaturahman3649 10 หลายเดือนก่อน

    can component use custom directive ?

  • @shivankgoel7194
    @shivankgoel7194 8 หลายเดือนก่อน

    In angular 17 there is no modules.ts and when I am importing the background directive in the component it is not working how to fix it

    • @procademy
      @procademy  8 หลายเดือนก่อน +2

      From angular 17, Angular uses statndalone component by default. And in standalone components, app.module is not required. I have not covered standalone components yet...i am going to cover it in future lectures. But for now, try creating an angular project using following angular cli command: ng new project-name --no-standalone. This will create a regular angular project with app.module.

    • @sumitchakraborty9680
      @sumitchakraborty9680 4 หลายเดือนก่อน

      Please update the git with the code ​@@procademy

  • @paras.p
    @paras.p 6 หลายเดือนก่อน

    Do this in angular17