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 eithera. a string of space-delimited class names, orb. an array of class names, orc. 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
时间: 2024-12-17 00:05:50