FrontendDeveloper.in

Angular question detail

What are the various kinds of directives?

There are mainly three kinds of directives:

  1. Components — These are directives with a template.
  2. Structural directives — These directives change the DOM layout by adding and removing DOM elements.
  3. Attribute directives — These directives change the appearance or behavior of an element, component, or another directive.
Back to all Angular questions
Get LinkedIn Premium at Rs 399