1.2.0 ā€¢ Published 12 months ago

ctcl-image-gallery v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Vanilla JS Library to create Image gallery with list of image

šŸ  Homepage

Install

npm install ctcl-image-gallery

Usage

<script src='ctcl-image-gallery.js'></script> or <script src='ctcl-image-gallery.min.js'></script>

<script>

 new ctclImgGal('.image_gallery_2', ('Seletor/s to apply gallery to')
 {
  mainImgHt:500, ( Number, Gallery and main image width - Optional , default : Element width )
  mainImgWd:900, ( Number, Gallery and main image height - Optional , default : Element Height )
  imageEvent:'click' (Event to change main image, refer to "addEventListener" in JS, - Optional, default: click)
  callBack:(el)=>{} (Call back function   to be called when gallery is applied which get gallery element as parameter - Optional )
  });

  *Parameter 1 - Required
  *Parameter 2 - Optional
</script>

Run tests

npm run test

Author

šŸ‘¤ UjW0L

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!


This README was generated with ā¤ļø by readme-md-generator

1.2.0

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.1.2

12 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago