Friday 19 March 2021

What are Directives ?

Directives are the Document Object Model (DOM) instruction sets, which decide how logic implementation can be done.

They add additional behavior to elements in your Angular applications.

These are Typescript class which is declared with decorator @Directive or @Component.

Based on Type of operation that can be performed , Directives are further classified into:  

Component Directive 
Attribute Directive
Structural Directive

No comments:

Post a Comment