码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-02-02 14:19:57      阅读:121      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!