docs(ngClass): clarify the use of object map
This commit is contained in:
committed by
Pete Bacon Darwin
parent
bc36c4dea4
commit
944bda12c7
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user