mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(guide/concepts): add comment as a type of directive
This commit is contained in:
parent
d3d7b9e3ed
commit
4fd057e7c7
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ rendering the view compared to most other templating systems.
|
|||
# Directives
|
||||
|
||||
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`
|
||||
in HTML.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue