2017 © Pedro Peláez
 

package yii2-owl-carousel

Owl Carousel 2 for Widget Yii2

image

gevman/yii2-owl-carousel

Owl Carousel 2 for Widget Yii2

  • Tuesday, April 10, 2018
  • by gevorgmansuryan
  • Repository
  • 1 Watchers
  • 2 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 40 % Grown

The README.md

Owl Carousel 2 for Widget Yii2

installation

using composer, (*1)

gevman/yii2-owl-carousel

example of usage

echo \Gevman\OwlCarousel\OwlCarousel::widget([
    'elements' => [
        Html::img(null, ['class' => 'owl-lazy', 'data' => ['src' => Yii::getAlias('@web/images/image-1.jpg')]]),
        Html::img(null, ['class' => 'owl-lazy', 'data' => ['src' => Yii::getAlias('@web/images/image-2.jpg')]]),
        Html::img(null, ['class' => 'owl-lazy', 'data' => ['src' => Yii::getAlias('@web/images/image-3.jpg')]]),
    ],
    'config' => [
        'items' => 1,
        'lazyLoad' => true,
        'loop' => true,
        'dots' => true,
        'autoplay' => true,
    ]
]);

For more options check Owl Carousel 2 Official Docs, (*2)

The Versions

10/04 2018

dev-master

9999999-dev

Owl Carousel 2 for Widget Yii2

  Sources   Download

MIT

The Requires

 

by Gevorg Mansuryan

10/04 2018

0.2.1

0.2.1.0

Owl Carousel 2 for Widget Yii2

  Sources   Download

MIT

The Requires

 

by Gevorg Mansuryan

10/04 2018

0.2

0.2.0.0

Owl Carousel 2 for Widget Yii2

  Sources   Download

MIT

The Requires

 

by Gevorg Mansuryan

09/04 2018

0.1

0.1.0.0

Owl Carousel 2 for Widget Yii2

  Sources   Download

MIT

The Requires

 

by Gevorg Mansuryan