Improve this Doc View Source ngClassOdd
- directive in module ng
ngClassEven directives work exactly as ngClass, except they work in conjunction with
ngRepeat and take effect only on odd (even) rows.
This directive can be applied only within the scope of an ngRepeat.
- This directive executes at priority level 0.
- as attribute:
<ANY ng-class-odd="expression"> ... </ANY>
- as CSS class:
<ANY class="ng-class-odd: expression;"> ... </ANY>
|ngClassOdd|| || |
Expression to eval. The result of the evaluation can be a string representing space delimited class names or an array.
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.