2017 © Pedro Peláez
 

yii2-extension slick-slide

the last carousel you'll ever need

image

yzerkal/slick-slide

the last carousel you'll ever need

  • Saturday, August 22, 2015
  • by yzerkal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

This repository is the copy of DrMabuse23/yii2-slick except of hardcoded slick-slide version in composer.json, (*1)

yii2-slick

the Preview http://kenwheeler.github.io/slick/, (*2)

The yii2 widget to the fantastic slick-carousel. This widget generate you the only the javascript., (*3)

Installation Composer

yzerkal/slick-slide:"*"

Installation Assets Bower

cd vendor/yzerkal/slick-slide/web

bower install

Using


\drmabuse\slick\SlickWidget::widget([ 'container' => '.single-item', 'settings' => [ 'slick' => [ 'infinite' => true, 'slidesToShow' => 3, 'onBeforeChange'=> new \yii\web\JsExpression('function(){ }'), 'onAfterChange' => new \yii\web\JsExpression('function(){ console.debug(this); }'), 'responsive' => [ [ 'breakpoint'=> 768, 'settings'=> [ 'arrows'=> false, 'centerMode'=> true, 'centerPadding'=> 40, 'slidesToShow'=> 3 ] ] ], ], 'slickGoTo' => 3, ] ]); <div class="slider single-item"> <div><h3>1</h3></div> <div><h3>2</h3></div> <div><h3>3</h3></div> <div><h3>4</h3></div> <div><h3>5</h3></div> <div><h3>6</h3></div> </div>

The Versions

22/08 2015

dev-master

9999999-dev

the last carousel you'll ever need

  Sources   Download

MIT

The Requires

  • bower-asset/slick-carousel 1.5.5

 

extension yii2 responsive js-carousel