Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 654 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 654 Bytes

Description

Get a nice lightbox with different options

Installation

npm i lightboxcrpozo

Demo inside dist/index.html

Package Manager: npm Transpiling: babel Bundling: webpack

Usage

   <div data-toggle="lightbox">
        <img class="lightbox-bootstrap" src="">
        <img class="lightbox-bootstrap" src="">
    </div>

    <script src="./js/bundle.js"></script>

Demo

Options

  • interval_time - data-interval="5000" (number/false stops the looping)
  • effect_type - data-ride="normal" (fade/normal)
  • arrow_mode - data-arrow="true" (true/false)