Skip to content

Commit

Permalink
Merge pull request #39 from termosfera/master
Browse files Browse the repository at this point in the history
Added swiper-slider class parameter
  • Loading branch information
ksachdeva committed May 12, 2016
2 parents 1dd16ef + 0118960 commit f70cb69
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/angular-swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,12 @@
restrict: 'E',
require: '^ksSwiperContainer',
transclude: true,
template: '<div class="swiper-slide" ng-transclude></div>',
scope: {
sliderCls: '@',
},
template: '<div class="swiper-slide {{sliderCls}}" ng-transclude></div>',
replace: true
};
}

})(window, angular, undefined);
})(window, angular, undefined);

0 comments on commit f70cb69

Please sign in to comment.