Skip to content

Commit

Permalink
docs(ngClass): clarify the use of object map
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlucmorin authored and petebacondarwin committed Jun 4, 2013
1 parent 4fd057e commit 8eb8c4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ng/directive/ngClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 8eb8c4a

Please sign in to comment.