Difference between revisions of "AngularJS directive"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "In AngularJS, a '''directive''' is ... == See also == * AngularJS * AngularJS directive * JavaScript library * Web application Category:AngularJS ...")
 
Line 1: Line 1:
In [[AngularJS]], a '''directive''' is ...
+
In [[AngularJS]], a '''directive''' is a class decorated with <code>@Directive</code>.
 +
 
 +
Built-in directives include structural directives and attribute directives.
 +
 
 +
A directive combined with a template is a component.
  
 
== See also ==
 
== See also ==

Revision as of 14:03, 31 December 2016

In AngularJS, a directive is a class decorated with @Directive.

Built-in directives include structural directives and attribute directives.

A directive combined with a template is a component.

See also