1.0.5 • Published 3 years ago

@tagron/light-carousel v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

MtnCarousel

Install

npm install mtn-carousel

Sub Module Import

import { LightCarouselModule } from "light-carousel";

@NgModule({
  imports: [
    // ...

    LightCarouselModule,
  ],
})

Assign slide items in your component

// Slide Items example.

this.slideItems = [
  {
    id: 1,
    title: "Mobile Internet",
    src: "https://via.placeholder.com/600",
    url: "http://linkurl.com",
  },
  {
    id: 2,
    title: "Home Internet",
    src: "https://via.placeholder.com/600",
    url: "http://linkurl.com",
  },
  {
    id: 3,
    title: "Get a device",
    src: "https://via.placeholder.com/600",
    url: "http://linkurl.com",
  },
  {
    id: 4,
    title: "Add a phone-line",
    src: "https://via.placeholder.com/600",
    url: "http://linkurl.com",
  },
  {
    id: 5,
    title: "Upgrade",
    src: "https://via.placeholder.com/600",
    url: "http://linkurl.com",
  },
];
<mtn-light-carousel [configOptions]="options" [items]="slideItems">
  <h1>Slide Title</h1>
</mtn-light-carousel>
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago