AngularJS ng-class-even 指令
AngularJS 实例
为表格的偶数行设置 class="striped":
rush:js;">
<Meta charset="utf-8">
运行结果:
cope striped" ng-class-even="'striped'" ng-repeat="x in records" style="color: white; background-color: black"> | glunds snabbk | cope" ng-class-even="'striped'" ng-repeat="x in records">cope striped" ng-class-even="'striped'" ng-repeat="x in records" style="color: white; background-color: black"> |
定义和用法
一个或多个 CSS 类,但只作用于偶数行。
支持的。
语法
所有 HTML 元素都支持。参考值:
描述 |
---|
以上就是对AngularJS资料的整理,后续继续补充,谢谢大家的支持!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。