加载中
AngularJS 笔记

###Module ng-app 可以不必赋值:<div ng-app> 即合法 Module :app 的不同组件——controllers,services,filters,directives 的容器 module 的构造函数有两个参数:第一个字符串是本 modu...

2014/11/16 23:05
608
AngularJS 实现图片旋转(CSS)

图片旋转基于 CSS:transform:rotate(**deg) 实现,Angular 用于动态绑定 deg 数: controller:(其实可以省略) lang:js $scope.img = {src:"xxx.png", rotate=0}; HTML: lang:html <butto...

2014/10/15 14:40
4.4K

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部