We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys, Small question, does this directive support Thumbs Gallery from demo http://idangero.us/swiper/demos/?
The text was updated successfully, but these errors were encountered:
yes. you can use this codes:
<ks-swiper-container swiper="sliderTop" on-ready="onReadyFuncTop(swiper)" slides-per-view="1"> <ks-swiper-slide class="swiper-slide" ng-repeat="s in [1,2,3,4,5,6,7,8,9,10,11,12,13,14]"> <img ng-src="http://api.randomuser.me/portraits/thumb/men/{{s}}.jpg"> </ks-swiper-slide> </ks-swiper-container> <ks-swiper-container override-parameters="{'slideToClickedSlide':'true','centeredSlides':'true'}" swiper="sliderBottom" on-ready="onReadyFuncBottom(swiper,sliderTop)" slides-per-view="5"> <ks-swiper-slide class="swiper-slide" ng-repeat="s in [1,2,3,4,5,6,7,8,9,10,11,12,13,14]"> <img ng-src="http://api.randomuser.me/portraits/thumb/men/{{s}}.jpg"> </ks-swiper-slide> </ks-swiper-container>
and js in your controller:
js
$scope.sliderTop = {}; $scope.sliderBottom = {}; $scope.onReadyFuncTop = function(swiper_param) { // nothing }; $scope.onReadyFuncBottom = function(swiper1param , swiper2param) { swiper1param.controller.control = swiper2param; swiper2param.controller.control = swiper1param; };
Sorry, something went wrong.
No branches or pull requests
Hi guys,
Small question, does this directive support Thumbs Gallery from demo http://idangero.us/swiper/demos/?
The text was updated successfully, but these errors were encountered: