dev-master
9999999-dev https://github.com/andrtechno/wgt-owlcarouselWidget Owl Carousel 2
MIT
The Requires
- panix/engine *
- bower-asset/owl.carousel *
by CORNER CMS
extension widget owlcarousel corner-cms
Widget Owl Carousel 2
The OwlCarouselWidget is a Yii2 wrapper for the [Owl Carousel 2] (https://owlcarousel2.github.io/OwlCarousel2/), (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer require --prefer-dist panix/wgt-owlcarousel "*"
or add, (*5)
"panix/wgt-owlcarousel": "*"
to the require section of your composer.json
file., (*6)
see at https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html, (*7)
Once the extension is installed, simply use it in your code by :, (*8)
```php 'div', 'containerOptions' => [ 'class' => 'container-class' ], 'options' => [ 'autoplay' => true, 'autoplayTimeout' => 3000, 'items' => 3, 'loop' => true, 'responsiveClass' => true, 'responsive' => [ 0 => [ 'items' => 1, 'nav' => false, 'dots' => true, 'center' => true, ], 426 => [ 'items' => 2, 'nav' => false ], 768 => [ 'items' => 2, 'nav' => false ], 1024 => [ 'items' => 5, 'nav' => true, 'dots' => false ] ] ] ]); ?>, (*9)
Widget Owl Carousel 2
MIT
extension widget owlcarousel corner-cms