Monday 23 August 2021

Angular : Directives Vs. Components Vs. Attribute directives Vs. Structural directives

 Angular : Directives Vs. Components Vs. Attribute directives Vs. Structural directives


Directives are classes that add additional behavior to elements in your Angular applications. With Angular's built-in directives, you can manage forms, lists, styles, and what users see


Components—directives with a template. This type of directive is the most common directive type.


Attribute directives—directives that change the appearance or behavior of an element, component, or another directive.


Structural directives—directives that change the DOM layout by adding and removing DOM elements.

No comments:

Post a Comment