YUNOVA · Angular · Module 12: Angular architecture

Custom directives

Notes for offline study · 30 November 2026

Custom directives

Key points

  • An attribute directive changes how an existing element looks or behaves.
  • @HostListener and @HostBinding react to events and set properties.
  • Structural directives use TemplateRef and ViewContainerRef to add or remove views.

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.