Angular

Fundamentals of Angular Directives - Attribute Directives

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

Attribute Directives in Angular

  1. Accessing the nativeElement property of the injectable ElementRef class instance.
  2. Using Angular rendering engine, and specifically, the Renderer2 class to add and remove classes, and more.
  3. Decoupling our attribute directives from the Document Object Model (DOM) using the @HostListener decorator.

The goal is to learn how to build attribute directives using Angular to extend the behavior and functionality of elements in our templates.

 

I finished! On to the next chapter