Comments (1)
The same problem here, using the html code described at the Options page:
import Lightbox from 'bs5-lightbox';
const options = {
keyboard: true,
size: 'fullscreen'
};
document.querySelectorAll('.my-lightbox-toggle').forEach((el) => el.addEventListener('click', (e) => {
e.preventDefault();
const lightbox = new Lightbox(el, options);
lightbox.show();
}));
changing the values for parameter size like described (sm,lg,xl,fullscreen), but there is no difference.
from bs5-lightbox.
Related Issues (20)
- Its not working with bootstrap 5 card HOT 1
- Error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id') HOT 2
- Image Gallery Issues with Bootstrap 5.2.3 and up HOT 2
- Package size info HOT 2
- Use youtube-nocookie.com
- Lightbox full screen option cutting off content at the top HOT 4
- Lightbox aspect ration according to the image size
- Full size image doesn't display when using the plugin in a Django project
- Does it work with 5.3.0? HOT 5
- Lightbox opened from inside another Modal
- Focus on close
- lazy load images
- Looping through a list of dynamic images gives galleries different IDs
- Not loading on Bootstrap 5.3.2 HOT 2
- Absolute paths are not working in hidden gallery: File Not Found Error
- Gallery is auto-rotating HOT 1
- srcset in Bootstrap 5 Lightbox
- first video autoplay audio when opening lightbox with mixed content
- CSP issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bs5-lightbox.