mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +00:00
docs(guide/concepts): add comment as a type of directive
This commit is contained in:
parent
722766958b
commit
bc36c4dea4
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ rendering the view compared to most other templating systems.
|
||||||
# Directives
|
# Directives
|
||||||
|
|
||||||
A directive is a behavior or DOM transformation which is triggered by the presence of a custom attribute,
|
A directive is a behavior or DOM transformation which is triggered by the presence of a custom attribute,
|
||||||
element name, or a class name. A directive allows you to extend the HTML vocabulary in a
|
element name, class name or comment. A directive allows you to extend the HTML vocabulary in a
|
||||||
declarative fashion. Following is an example which enables data-binding for the `contenteditable`
|
declarative fashion. Following is an example which enables data-binding for the `contenteditable`
|
||||||
in HTML.
|
in HTML.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue