lanselot/yii2-parallax-widget
Composer 安装命令:
composer require lanselot/yii2-parallax-widget
包简介
Wrapper for Yii2 from parallax.js by http://pixelcog.github.io
关键字:
README 文档
README
wrapper for Yii2 from parallax.js by http://pixelcog.github.io
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist lanselot/yii2-parallax-widget "*"
or add
"lanselot/yii2-parallax-widget": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \lanselot\parallax\ParallaxWidget::widget([ 'image' => 'path/to/image.ext', 'element' => '.class', 'minHeight' => '400px', ]); ?>
统计信息
- 总下载量: 376
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-05