Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 768 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 768 Bytes

SimpleAngularSwiper

simple implementation of https://github.com/nolimits4web/Swiper for angularJS

Installation

bower install simple-angular-swiper

Usage

add the module nolimits4web.swiper to your app dependencies and start using swiper

<div
        class="swiper-container"
        data-autoplay="0"
        data-loop="1"
        data-slides-per-view="3"
        data-breakpoints='{"300": {"slidesPerView":1},"500": {"slidesPerView":2}}'
>
    <div class="swiper-wrapper">
        <div class="swiper-slide" ng-repeat="data in someList">
            <div class="paddings-container">
                <ng-include src="'slide.html'"></ng-include>
            </div>
        </div>
    </div>
    <div class="pagination"></div>
</div>