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

13.0.0 • Public • Published

Live Demo

How to install

npm i ngx-magic-carousel

Usage

Add CarouselModule to imports from "ngx-magic-carousel".

import { CarouselModule } from 'ngx-magic-carousel';

...

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [CarouselModule],
  bootstrap: [AppComponent]
})
export class AppModule { }

And insert component to template

<ngx-magic-carousel
  [height]="350"
  [cellWidth]="260"
  [margin]="16"
  [marginFirst]="16"
  [marginLast]="16"
  [transition]="300"
>
  <div class="carousel-cell" *ngFor="let slide of slides;">
    {{slide.id}}
  </div>
</ngx-magic-carousel>

Package Sidebar

Install

npm i ngx-magic-carousel

Weekly Downloads

80

Version

13.0.0

License

none

Unpacked Size

188 kB

Total Files

16

Last publish

Collaborators

  • magicbright