A component approach in pure JavaScript. Splitting of image gallery code and view code with individual scope. Features: slide, fit, zoom, pan, full screen, key control.
Just clone or download this repository. Start local server (LiveServer plugin for VS Code / serve npm package). That's all...
Clone this repo:
git clone git@github.com:alekstar79/lightbox.git
Go to project directory:
cd lightbox
Start server:
serve -s .