2017 © Pedro Peláez
 

yii2-extension wgt-owlcarousel

Widget Owl Carousel 2

image

panix/wgt-owlcarousel

Widget Owl Carousel 2

  • Sunday, October 15, 2017
  • by andrtechno
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Owl Carousel Widget

The OwlCarouselWidget is a Yii2 wrapper for the [Owl Carousel 2] (https://owlcarousel2.github.io/OwlCarousel2/), (*1)

Latest Stable Version Total Downloads, (*2)

Installation

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)

Plugin options

see at https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html, (*7)

Usage

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)

Image 1
Image 2
Image 3
Image 4

The Versions

15/10 2017

dev-master

9999999-dev https://github.com/andrtechno/wgt-owlcarousel

Widget Owl Carousel 2

  Sources   Download

MIT

The Requires

 

extension widget owlcarousel corner-cms