agx-carousel
v1.4.3
Published
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.0.
Downloads
46
Maintainers
Readme
AgxCarousel
This library was generated with Angular CLI version 8.0.3.
Install
You can install the package from our npm package
npm install --save agx-carousel
check if not install all peer dependencies:
##Usage First tou need to provide the CarouselModule to your desired Module
import {AgxCarouselModule} from "agx-carousel";
// In your App's module or Custom Module:
@NgModule({
imports: [
AgxCarouselModule
]
})
note : if you install library from github, you should import from angular2-carousel/dist
Now, you can use CarouselModule as follow:
##examples
<agx-carousel *ngIf="showSlider" #nav [images]="dataItem">
dataItem =
[{ video: 'https://youtu.be/tYa6OLQHrEc', title: 'Youtube example one with title.', },
{
content:'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum VIEW VIDEO'
}
]