1.0.2 • Published 3 years ago

picture-box v1.0.2

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

Picture Box

A vanila js library to show Crousal on image click

Installations

npm install pictureBox

Getting started

Add class picture-box to the img tag that you want to include in the crousal

<img class="picture-box" src="image1.jpg" />

Add a js file in your project add add

import { pictureBox } from "picture-box/pictureBox";
import "picture-box/pictureBox.css";
pictureBox.render();

Bundle it with webpack,parcel or any other bundler