0.0.6 • Published 5 years ago
ngx-carousels v0.0.6
NGX-Carousels - Angular Carousel components with custom template inner
Table of Contents
Demo
View demo
Summary
Angular 7+ module with carousels. View docs
How to use
Installation
npm install --save ngx-carousels
Import CarouselModule in your AppModule
import { CarouselModule } from 'ngx-carousels';
@NgModule({
...
imports: [..., CarouselModule],
...
})
export class YourAppModule {
}
Usage
<rotate-carousel height="300px" width="450px" depth="700px" period="2.5s" direction="reverse">
<ng-template rotateCarouselItem>
<div>Inner of first item</div>
</ng-template>
<ng-template rotateCarouselItem>
<div>Inner of second item</div>
</ng-template>
...
</rotate-carousel>
License
Todo
- Auto height
- Global configuration
- Tests