mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-30 17:03:39 +08:00
docs(guide/concepts): add comment as a type of directive
This commit is contained in:
committed by
Pete Bacon Darwin
parent
722766958b
commit
bc36c4dea4
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user