aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.templates.css-styling.ngdoc
diff options
context:
space:
mode:
authorNick Donohue2013-09-05 13:03:45 +0100
committerPete Bacon Darwin2013-09-05 13:04:49 +0100
commit62ea5c3a9149a066364692b653f0560c70e00074 (patch)
treea7801e0c4e0a0a1e65f37d24f5556f6b921fbd3b /docs/content/guide/dev_guide.templates.css-styling.ngdoc
parent327a78604a2a3eed5af7477266e226a458417590 (diff)
downloadangular.js-62ea5c3a9149a066364692b653f0560c70e00074.tar.bz2
docs(css_styling_guide): add ng-scope and ng-binding classes
I noticed angular was adding these css classes to elements and believe they should be listed in the documentation at this page. The ng-scope class is mentioned in the developer guide, hence the link there, and the ng-binding class is not mentioned anywhere else in the documentation or the guide that I found. Closes #3728
Diffstat (limited to 'docs/content/guide/dev_guide.templates.css-styling.ngdoc')
-rw-r--r--docs/content/guide/dev_guide.templates.css-styling.ngdoc10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/content/guide/dev_guide.templates.css-styling.ngdoc b/docs/content/guide/dev_guide.templates.css-styling.ngdoc
index 529c2398..46ae6e96 100644
--- a/docs/content/guide/dev_guide.templates.css-styling.ngdoc
+++ b/docs/content/guide/dev_guide.templates.css-styling.ngdoc
@@ -7,9 +7,17 @@ Angular sets these CSS classes. It is up to your application to provide useful s
# CSS classes used by angular
+* `ng-scope`
+ - **Usage:** angular applies this class to any element that where a new {@link api/ng.$rootScope.Scope scope}
+ is defined. (see {@link guide/scope scope} guide for more information about scopes)
+
+* `ng-binding`
+ - **Usage:** angular applies this class to any element that is attached to a data binding, via `ng-bind` or
+ {{}} curly braces, for example. (see {@link guide/dev_guide.templates.databinding databinding} guide)
+
* `ng-invalid`, `ng-valid`
- **Usage:** angular applies this class to an input widget element if that element's input does
- not pass validation. (see {@link api/ng.directive:input input} directive).
+ not pass validation. (see {@link api/ng.directive:input input} directive)
* `ng-pristine`, `ng-dirty`
- **Usage:** angular {@link api/ng.directive:input input} directive applies `ng-pristine` class