@egolord/carousel

1.0.1 • Public • Published

ImageTrack

props: {
  images: {
    type: Array,
    required: true,
  },
  activeIndex: {
    type: Number,
    required: true,
  },
  transition: {
    type: String,
    default: 'fade',
  },
},

images array is of

{
  address: {
    type: String,
  },
  alt: {
    type: String,
  }
}

AutoFadeCarousel

props: {
  interval: {
    type: Number,
    default: 4000,
  },
  images: {
    type: Array,
    required: true,
  }
},

images array is of

{
  address: {
    type: String,
  },
  alt: {
    type: String,
  }
}

ButtonCarousel

props: {
  images: {
    type: Array,
    required: true,
  }
},

images array is of

{
  address: {
    type: String,
  },
  alt: {
    type: String,
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @egolord/carousel

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

5.16 kB

Total Files

6

Last publish

Collaborators

  • asconwe