demogorgorn / yii2-sudo-slider
Yii2 jQuery Sudo Slider widget
Installs: 86
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-10-21 22:18:08 UTC
README
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
.