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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i picture-box

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

6.11 kB

Total Files

4

Last publish

Collaborators

  • mayank-mg