lightbox-werkraum

2.0.6 • Public • Published

Description

Simple Lightbox functionality based on Bootstrap 5 using only modal and carousel components

Requirements:

  • Bootstrap 5

Installation

npm i lightbox-werkraum

Instructions

Initialize lightbox :   data-toggle = "lightbox"
Create gallery      :   data-gallery = "memories"
Create caption      :   data-caption = "This describes the image"
Size modal          :   data-size = "fullscreen" (fullscreen, xl, lg and sm)

Demo inside dist/index.html

Usage

  <a href="image-big" data-toggle="lightbox" data-gallery="gallery" data-caption = "This describes the image">
      <img src="image-small">
  </a>

Package Sidebar

Install

npm i lightbox-werkraum

Weekly Downloads

7

Version

2.0.6

License

MIT

Unpacked Size

56.6 kB

Total Files

9

Last publish

Collaborators

  • cpozo