picture-box

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i picture-box

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

6.11 kB

Total Files

4

Last publish

Collaborators

  • mayank-mg