首页 > 其他 > 详细

H/C/J 前端学习笔记 - I

时间:2016-02-02 14:18:47      阅读:200      评论:0      收藏:0      [点我收藏+]

1. AngularJS 如何条件设置元素的class

ng-class="{class}[condition]"
example:ng-class="{1:‘col-md-12‘, 2:‘col-sm-6‘}[value]"

ng-class supports an expression that must evaluate to either
a. a string of space-delimited class names, or
b. an array of class names, or
c. a map/object of class names to boolean values.

2. [CC]一篇非常好的Animation的文章

  http://www.yearofmoo.com/2013/04/animation-in-angularjs.html

3. [CC]Bootstrap 3 tips and tricks you still might not know

 https://scotch.io/bar-talk/bootstrap-3-tips-and-tricks-you-still-might-not-know

H/C/J 前端学习笔记 - I

原文:http://www.cnblogs.com/ScropioFish82/p/5176923.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!