Bokkusu is a simple lightbox module using Vanilla JS.
You can instal Bokkusu with npm
npm install bokkusu-js --save
For now I have only tested it with webpack and in latest Chrome.
import bokkusu from 'bokkusu-js';
import 'bokkusu-js/dist/bokkusu.css';
bokkusu('http://example.com/image.png');
- Add support for other content
- iframe
- DOM Elements
- HTML
- Browser support
- Pick versions to support
- Make sure supported versions work
- make it work in script tag
- simple gallery function for switching between images
- add documentation
- add some kind of error handling (missing/wrong options)