in Angular by
What are directives in Angular?

1 Answer

0 votes
Directives are one of the core features of Angular. They allow an Angular developer to write new, application-specific HTML syntax. In actual, directives are functions that are executed by the Angular compiler when the same finds them in the DOM. Directives are of three types:

Attribute Directives

Component Directives

Structural Directives

Related questions

0 votes
asked Nov 24, 2019 in Angular by rajeshsharma
0 votes
asked Jun 6, 2022 in Angular by john ganales
0 votes
asked Jun 4, 2022 in Angular by sharadyadav1986