aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive
diff options
context:
space:
mode:
authorLuc Morin2013-05-27 21:34:12 -0300
committerPete Bacon Darwin2013-06-04 21:01:43 +0100
commit944bda12c73db74190482fa80d361dabb1b9cba1 (patch)
tree97705ac59709e3732e4a79e6ed7ede67273f6489 /src/ng/directive
parentbc36c4dea4dabfe0e09c5680eb0ce6108c19bafb (diff)
downloadangular.js-944bda12c73db74190482fa80d361dabb1b9cba1.tar.bz2
docs(ngClass): clarify the use of object map
Diffstat (limited to 'src/ng/directive')
-rw-r--r--src/ng/directive/ngClass.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ng/directive/ngClass.js b/src/ng/directive/ngClass.js
index e936ee22..708f4095 100644
--- a/src/ng/directive/ngClass.js
+++ b/src/ng/directive/ngClass.js
@@ -73,7 +73,9 @@ function classDirective(name, selector) {
* @element ANY
* @param {expression} ngClass {@link guide/expression Expression} to eval. The result
* of the evaluation can be a string representing space delimited class
- * names, an array, or a map of class names to boolean values.
+ * names, an array, or a map of class names to boolean values. In the case of a map, the
+ * names of the properties whose values are truthy will be added as css classes to the
+ * element.
*
* @example
<example>