/yii2-backstretch

Include the Jquery Backstretch plugin in your Yii2 Application.

Primary LanguagePHP

Yii2-Backstretch

Jquery backstretch widget for Yii2.

Backstretch Website: http://srobbin.com/jquery-plugins/backstretch/

Installation

Composer:

1) Add to your composer.json
``` "require": { // ... "linchpinstudios/yii2-backstretch": "*", // ... }, ```
2) Run
``` php composer.phar update ```

Usage

1) Include Widget at top of page
```php use linchpinstudios/backstretch; ```
2) Call Widget
```php 3000, 'fade' => 750, 'clickEvent' => false, 'images' => [ ['image' => 'http://dl.dropbox.com/u/515046/www/outside.jpg'], ['image' => 'http://dl.dropbox.com/u/515046/www/garfield-interior.jpg'], ['image' => 'http://dl.dropbox.com/u/515046/www/cheers.jpg'], ], ]); ?> ```