top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Explain what is directive and Mention what are the different types of Directive?

0 votes
366 views
Explain what is directive and Mention what are the different types of Directive?
posted Dec 15, 2017 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

During compilation process when specific HTML constructs are encountered a behaviour or function is triggered, this function is referred as directive. It is executed when the compiler encounters it in the DOM.

Different types of directives are

  • Element directives
  • Attribute directives
  • CSS class directives
  • Comment directives
answer Dec 15, 2017 by Shivaranjini
...