2017 © Pedro Peláez
 

yii2-extension yii2-vegas

Yii2 wrapper for jaysalvat/vegas

image

ellotta/yii2-vegas

Yii2 wrapper for jaysalvat/vegas

  • Thursday, November 23, 2017
  • by ellotta
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 wrapper for jaysalvat/vegas

Yii2 wrapper for Vegas: a jQuery/Zepto plugin to add beautiful backgrounds and Slideshows to DOM elements, (*1)

Installation

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

Either run, (*3)

composer require --dev ellotta/yii2-vegas "*"

or add, (*4)

"ellotta/yii2-vegas": "*"

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

Usage

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

Vegas::widget([
    'selector' => 'body', //default selector
    'jsOptions' => [
        'slides' => [
            ['src' => 'https://dummyimage.com/800x600/000/ffffff.gif&text=1'],
            ['src' => 'https://dummyimage.com/800x600/000/ffffff.gif&text=2'],
            ['src' => 'https://dummyimage.com/800x600/000/ffffff.gif&text=3'],
        ],
        'animation' => 'kenburnsUp',
    ],
]);

See plugin documentation for more information., (*7)

The Versions

23/11 2017

dev-master

9999999-dev

Yii2 wrapper for jaysalvat/vegas

  Sources   Download

MIT

The Requires

 

by Avatar ellotta

extension yii2 vegas yii2 vegas slider