branchonline/yii2-unslider Unslider widget for Yii2

widgetunslider

yii2-unslider

Unslider slider widget for Yii2

Installation

Add the following to require section of your composer.json:

"branchonline/yii2-unslider": "*"

and run composer install.

Usage

  use branchonline\unslider\Unslider;
  echo Unslider::widget([
      'options' => [
          'nav' => false,
          'keys' => true,
          'fluid' => true
       ],
       'slides' => [
            [
                'img' => 'http://unslider.com/img/sunset.jpg',
                'title' => 'Yii2 PHP Framework',
                'body' => 'Unslider widget for Yii2',
                'button' => ['title' => 'Title', 'href' => '#href', 'class' => 'btn']
            ],
            [
                'img' => 'http://unslider.com/img/subway.jpg',
                'title' => 'Another image',
                'body' => 'description',
                'button' => ['title' => 'Title', 'href' => '#href', 'class' => 'btn']
            ]
  ]]);

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



4.0.0 is the latest of 22 releases



MIT license
Stats
1 github stars & 1 github forks
0 downloads in the last day
18 downloads in the last 30 days
4662 total downloads