agx-carousel
TypeScript icon, indicating that this package has built-in type declarations

1.4.3 • Public • Published

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'
    }

]

Package Sidebar

Install

npm i agx-carousel

Weekly Downloads

30

Version

1.4.3

License

MIT

Unpacked Size

907 kB

Total Files

32

Last publish

Collaborators

  • prathapsingh007