Download the PHP package raoul2000/yii2-backstretch-widget without Composer

On this page you can find all versions of the php package raoul2000/yii2-backstretch-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of yii2-backstretch-widget with dependencies

Informations about the package yii2-backstretch-widget

Backstretch Yii2 Extension

This yii2 extension is a wrapper around the jQuery Backstretch Plugin.

Installation

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code like for instance in the examples below.

Start a slideshow on the background of element #elementId.

Note that the images are defined as local or remote. The second argument of pluginOptions contains the plugin initialization settings that can be redefined if the default ones are not what you want.

To attach Backstretch as the body's background

In its simplest form, attach an image to the background of the body element. Default settings are used to initialize the plugin.

For complete documentation please refer to the jquery-backstretch Github page

If this plugin did not convinced you, have a look to the Background Switcher Plugin

License

yii2-backstretch-widget is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.


Version
Requires yiisoft/yii2 Version *

The package raoul2000/yii2-backstretch-widget contains the following files

Loading the files please wait ....