@3kles/kles-ng-carousel
@3kles/kles-ng-carousel is a angular library to create carousel.
Changelog
Check out the changelog to check all the latest changes.
Models
Interfaces
KlesSlide
Interface to set the src of the image to display
- src: string -> Source of the image to display
AnimationType
Enum to define the animation between images
- Scale
- Fade
- Flip
- JackInTheBox
IndicatorsPosition
Enum to define the position of the indicators
Components
- KlesCarouselComponent -> Component to create a carousel
Install
npm
npm install --save @3kles/kles-ng-carousel
How to use
In the module
import { KlesCarouselModule } from '@3kles/kles-ng-carousel';
...
@NgModule({
imports: [
KlesCarouselModule,
...
]
...
})
Check the documentation
to use component and directive.
Tests
npm install
npm test
License
MIT