dev-master
9999999-dev https://github.com/andrtechno/wgt-fancyboxWidget fancybox
MIT BSD 3-Clause
The Requires
by CORNER CMS
extension widget fancybox corner-cms
Wallogit.com
2017 © Pedro Peláez
Widget fancybox
Widget for Yii2, (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer require --prefer-dist panix/wgt-fancybox
or add, (*5)
"panix/wgt-fancybox": "^1.3.0"
to the require section of your composer.json file., (*6)
Once the extension is installed, simply use it in your code by :, (*7)
'a.fancybox-image']);
// or use options
echo \panix\ext\fancybox\Fancybox::widget([
'target' => 'a.fancybox-image',
'options' => [
//..
'onInit'=> new \yii\web\JsExpression('function(){
console.log("Fancybox onInit");
}')
]
]);
?>
Widget fancybox
MIT BSD 3-Clause
extension widget fancybox corner-cms