2017 © Pedro Peláez
 

yii2-extension yii2-unslider

a wrapper of UnSlider for Yii2.x Framework

image

rogeecn/yii2-unslider

a wrapper of UnSlider for Yii2.x Framework

  • Wednesday, December 20, 2017
  • by rogeecn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2.x extension of UnSlider

a wrapper of UnSlider for Yii2.x Framework, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist rogeecn/yii2-unslider "~1.0.1"

or add, (*4)

"rogeecn/yii2-unslider": "~1.0.1"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

= \rogeecn\UnSlider\Slider::widget([
    'slides' => [
        [
            'body' => 'Unslider widget for Yii2', // body will work when image field is not exist
            'url'  => "#",
        ],
        [
            'body' => $this->render("_body_view"), // you can render html instead
        ],
        [
            'image'   => '/images/cat2.jpg',
            'body'  => 'description',
        ],
    ],

]); ?>

The Versions

20/12 2017

dev-master

9999999-dev

a wrapper of UnSlider for Yii2.x Framework

  Sources   Download

MIT

The Requires

 

by rogee

extension yii2 unslider

20/12 2017

1.0.1

1.0.1.0

a wrapper of UnSlider for Yii2.x Framework

  Sources   Download

MIT

The Requires

 

by rogee

extension yii2 unslider