What are the various kinds of directives?

Posted by Jessica Taylor | Updated on

There are mainly three kinds of directives

Components — These are directives with a template.

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

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


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers