搬运工:
eg1:
Build a Sweet AngularJS Photo Slider Pt 2 with ngTouch
DEMO:http://paul-xiao.github.io/angular-photo-slider/
这个不错,自动轮播加上下班几行就行了
$scope.nextSlideOnTimer = function() {
$scope.nextSlide();
$timeout($scope.nextSlideOnTimer, 3000);
}
$scope.nextSlideOnTimer();
TweenMax.js delay貌似效果不太好 全改为0了
TweenMax.to(element, 0, {left: finishPoint, onComplete: done });
TweenMax.fromTo(element, 0, { left: startPoint }, {left: 0, onComplete: done });
eg2:
使用原生AngularJs模拟京东首页轮播图(不依靠任何外部插件)
暂时还没搞清楚,先学习学习文档再说