Skip to content

demogorgorn/yii2-sudo-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 SudoSlider jQuery widget

This is the Yii2 SudoSlider widget that renders a nice looking slider (http://webbies.dk/SudoSlider/index.html).

Example of ajax mode configuration:

echo \demogorgorn\uikit\sudoslider\Sudoslider::widget([
   'configuration' => [
      'ajax' => [
         \Yii::$app->request->getBaseUrl() . '/images/slider/01.jpg',
         \Yii::$app->request->getBaseUrl() . '/images/slider/02.jpg',
         \Yii::$app->request->getBaseUrl() . '/images/slider/09.jpg',
      ],
      'numeric' => false,
      'continuous' => true,
      'effect' => 'fade',
      'auto' => true,
      'prevNext' => false
   ],
 ]);

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require demogorgorn/yii2-sudo-slider "*"

or add

"demogorgorn/yii2-sudo-slider": "*"

to the require section of your composer.json file and run composer update.

About

Yii2 SudoSlider widget.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published