Skip to content

Eschon/bokkusu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bokkusu-js

Bokkusu is a simple lightbox module using Vanilla JS.

Installation

You can instal Bokkusu with npm

npm install bokkusu-js --save

Usage

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');

Roadmap for 1.0 release

  • 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)

About

A simple vanilla js lightbox module

Resources

Stars

Watchers

Forks

Packages

No packages published