WT Lightbox2.js
Introduction
This plugin is for Joomla developers. The plugin registers Lightbox2.js (https://lokeshdhakar.com/projects/lightbox2/#getting-started) package in Joomla Web Assets Manager. Then you can use it in your extensions.
To do this in your code, use:
use JoomlaCMSFactory;
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->usePreset('lightbox2')->useScript('jquery');
Ligthbox2 needs in jQuery library for work.
The plugin can be used as a dependency when developing your own extensions for Joomla 4. The plugin uses the Joomla 4 update system.
WT Lightbox2.js
- Version:
- 2.11.4
- Developer:
- Sergey Tolkachyov
- Last updated:
-
Dec 12 2023
8 months ago - Date added:
- Aug 21 2023
- License:
- GPLv2 or later
- Type:
- Free download
- Includes:
- p
- Compatibility:
- J4 J5
Share