OwlCarousel2 extension - wrapper for yii2
See OwlCarousel2
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist vlassiuk/yii2-owl.carousel2 "dev-master"
or add
"vlassiuk/yii2-owl.carousel2": "dev-master"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= \vlassiuk\owlcarousel2\Owlcarousel2::widget([...]); ?>
<div> Your Content </div>
<div> Your Content </div>
<div> Your Content </div>
<?= \vlassiuk\owlcarousel2\Owlcarousel2::end(); ?>