Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 627 Bytes
namespace Frontend\Modules\MediaLibrary\Widgets;
use Frontend\Modules\MediaLibrary\Widgets\Base\FrontendMediaWidget;
* This will show a MediaGroup (Custom Module) or a MediaGallery (Media Module) in a slider using BxSlider.
class Slider extends FrontendMediaWidget
public function execute(): void
// We need to have a MediaGroup to show this widget
if (!$this->mediaGroup) {
$this->addJS('/js/vendors/slick.min.js', true);
You can’t perform that action at this time.