webvimark/module-slider Slider :)

Slider module for Yii 2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist webvimark/module-slider "*"

or add

"webvimark/module-slider": "*"

to the require section of your composer.json file.

Configuration

In your config/web.php

    'modules'=>[
        ...

        'slider' => [
            'class' => 'webvimark\webvimark\modules\slider\SliderModule',
        ],

        ...
    ],

Usage

1 Go to http://site.com/slider/slider/index 2 Create slider with some "code" (for example "code" = "main" 3 Go to http://site.com/slider/slider-image/index?slider=main 4 Add images

and finally use widget


<?= SliderWidget::widget([
    'code'=>'main',
    'pluginOptions'=>[
        'auto'=>true,
        'pause'=>5000,
    ],
]) ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



Unknown license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
6 total downloads