2017 © Pedro Peláez
 

yii2-extension yii2-nivo-slider

Nivo slider widget for Yii2

image

inspirenmy/yii2-nivo-slider

Nivo slider widget for Yii2

  • Friday, January 26, 2018
  • by inspirenmy
  • Repository
  • 0 Watchers
  • 0 Stars
  • 177 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

Nivo Slider Widget for Yii2

A customizable nivo slider plugin for Yii2., (*1)

Installation

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

Either run, (*3)

php composer.phar require "amilna/yii2-nivo-slider" "*"

or add, (*4)

"amilna/yii2-nivo-slider" : "*"

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

Since this extensions stil in dev stages, be sure also add following line in composer.json file., (*6)

Usage

In view:, (*7)


use amilna\nivoslider\NivoSlider; echo NivoSlider::widget([ // active data provider or just array of image, url, title and description, exp: [["image"=>"test1.jpg","url"=>null],["image"=>"test2.jpg","url"=>null]] 'targetId'=>'nivoslider', //id of rendered nivoslider (the container will constructed by the widget with the given id) 'imageKey'=>'image', //model attribute to be used as background 'theme' => 'default', //available themes: default, bar, dark, light 'css' => '', // url of css to overide default css relative from @web // example to overide default options more options on http://docs.dev7studios.com/jquery-plugins/nivo-slider 'options'=>[ 'effect'=> 'boxRandom', 'manualAdvance'=>false, 'controlNav'=> false ], ]);

The Versions

26/01 2018

dev-master

9999999-dev

Nivo slider widget for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widget banner nivo