aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Morin2013-05-27 21:34:12 -0300
committerPete Bacon Darwin2013-06-04 21:01:26 +0100
commit8eb8c4a32fa6f61a84ee476ac0755d9263f84050 (patch)
tree48e48976aa106c3bd1c826c5fda4d95b02f20a27
parent4fd057e7c74548d418fad801f29fcaa611d7e0a0 (diff)
downloadangular.js-8eb8c4a32fa6f61a84ee476ac0755d9263f84050.tar.bz2
docs(ngClass): clarify the use of object map
-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>