nulledcc / yii2-slippry
The Slippry widget for the Yii framework
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-widget
Requires
- bower-asset/slippry: >=1.3.1
- fxp/composer-asset-plugin: >=1.0.0
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-12-30 15:25:55 UTC
README
The slippry slider widget for the Yii framework. See more here: http://slippry.com
NOTE(WARNING)
To load images arrows.svg and sy-loader.gif change default in slippry.css to
background: url("../images/sy-loader.gif") 50% 50% no-repeat; background-image: url("../images/arrows.svg");
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require nulledcc/yii2-slippry:dev-master
or add
"nulledcc/yii2-slippry": "dev-master"
to the require
section of your composer.json
file.
Usage
<?=\nulledcc\slippry\slippry::widget([ 'items'=>[ ["img"=>"http://paygate.or.kr/wp-content/uploads/2013/11/slider__wat.png","a"=>["href"=>"http://mysite.com/"]], "http://parallaxslider.com/images/classic/bulletsFullWidth/02_bulletsFW.jpg" ], 'clientOptions'=>[ 'accepts'=>'random', ] ]);?>