Image Carousel
Install
npm install image-carousel-frostwalker
Use
index.html
<div id="carouselId" class="frostwalkercarousel"></div>
index.js
import FrostwalkerCarousel from "image-carousel-frostwalker";
import image1 from "../assets/image1.jpeg";
import image2 from "../assets/image2.jpeg";
import image3 from "../assets/image3.jpeg";
const carousel1 = FrostwalkerCarousel(carouselId, timer, image1, image2);
Add image to carousel
carousel1.addImage(image3);
Delete image from carousel
carousel1.deleteImage(image2);