PHP code example of rosgear / rg-wd-fancybox
1. Go to this page and download the library: Download rosgear/rg-wd-fancybox library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rosgear / rg-wd-fancybox example snippets
$lightbox = Ge::$app->widgets->get('rg.wd.fancybox', ['width' => 600, 'height' => 400]);
$lightbox->run();
$this->widget('rg.wd.fancybox', ['width' => 600, 'height' => 400])->run();
use Rg\Widget\Fancybox\Widget as Lightbox;
Lightbox::widget(['width' => 600, 'height' => 400])->run();