Amit Pandey

Amit Pandey

  • NA
  • 34
  • 1k

when do we need to create custom directives in angular?

Aug 23 2021 3:36 AM

ngFor, ngIf, ngSwitch :- structural or

ngClass, ngStyle :- attribute

What are the things that we can't do with the above mentioned directive? And there will be a real need of custom directive? 


Answers (2)