0.0.1 • Published 2 years ago

@reuzun/ng1-carousel v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Pure-js Carousel

Example usage :

Before using it:

You should import it and also ngAnimate.

    var app = angular.module("app", ["carouselapp", 'ngAnimate'])
    <head>
        ...
            <script src="YOUR_MAIN_APP"></script>
            <script src="./node_modules/@reuzun/carousel/dist/bundle.js"></script>
        ...
    </head>

and then in body just use it simply like below:

    <div class="carousel" id="cats">
        <div class="carousel-item carousel-item-active">
            ...
        </div>
        <div class="carousel-item">
            ...
        </div>
        <div class="carousel-item">
            ...
        </div>
        <div class="carousel-item">
            ...
        </div>
    </div>