FancyBox3
FancyBox3
Extension yii for library FancyBox3
Installation
"require": {
"keygenqt/yii2-fancybox3": "*"
}
of your composer.json file.
Example code
<?php FancyBox3::begin([
'nameBtn' => 'Open FancyBox3',
'btnOption' => [
'class' => 'btn'
],
'jsOption' => [
'focus' => false,
]
]) ?>
Hello!
This is animated content! Cool, right?
<?php FancyBox3::end() ?>
<?= FancyBox3::widget([
'nameBtn' => 'Open url YouTube',
'src' => 'https://www.youtube.com/watch?v=jZiWG-dcvew',
'btnOption' => [
'class' => 'btn'
],
'jsOption' => [
'focus' => false,
]
]) ?>
License Extension
May 31, 2020