k-light-box

0.2.27 • Public • Published

k-light-box

Very light lightbox for Derby.js.

Uses flexbox, so not totally compatible with every browser. Also expects http://fontawesome.io/ because of laziness.

May burn houses down etc. Improvements are welcome.

##Demo

https://derby-demos.herokuapp.com/k-light-box

##Install

npm install k-light-box

##Setup

app.component(require('k-light-box'))
@import 'node_modules/k-light-box'

##Usage

<k-light-box selector="#article img"></k-light-box>

This will apply the lightbox to the elements found by the selector.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i k-light-box

Weekly Downloads

0

Version

0.2.27

License

MIT

Unpacked Size

9.49 kB

Total Files

6

Last publish

Collaborators

  • ile