noelboss / featherlight

Featherlight is a very lightweight jQuery lightbox plugin. It's simple yet flexible and easy to use. Featherlight has minimal css and uses no inline styles, everything is name-spaced, it's completely customizable via config object and offers image, ajax and iframe support out of the box. Featherlights small footprint weights about 4kB – in total.
https://www.noevu.ch/featherlight-js-the-ultra-slim-lightbox/
MIT License
2.07k stars 296 forks source link

update docs to enable gallery with data-featherlight="gallery" #417

Open leph83 opened 3 years ago

leph83 commented 3 years ago

What kind of issue is this? (put 'x' between the square brackets)

I've used the wordpress plugin and wanted use featherlight on custom code. The docs is really good, I figured how to use featherlight on one image. By try and error i figured that I had to add data-featherlight="gallery" to the container of the images to enable the gallery function. Would be nice if you added that to the docs.