Saturday, 29 August 2015

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

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 :-

  1. Element directives
  2. Attribute directives
  3. CSS class directives
  4. Comment directives

No comments:

Post a Comment