nsept/yii2-jscrollpane
Composer 安装命令:
composer require nsept/yii2-jscrollpane
包简介
A jQuery plugin which allows you to replace a browser's default scrollbars.
README 文档
README
#Yii2-jScrollPane Widget
Widget for a jQuery plugin which allows you to replace a browser's default scrollbars (on an element which has overflow: auto) with a HTML structure that can be easily skinned using CSS.
To see a bunch of examples of jScrollPane in action please visit the jScrollPane website.
Install
Either run
composer require nsept/yii2-jscrollpane "@dev"
or add
"nsept/yii2-jscrollpane": "@dev"
to the require section of your composer.json file.
Usage
<? \nsept\jscrollpane\JScrollPaneWidget::widget([ 'container' => '.scroll-pane', 'mousewheel' => true, 'settings' => [ // Plugin options (http://jscrollpane.kelvinluck.com/settings.html) ] ]); ?> <div class="scroll-pane" style="height: 200px; overflow: auto;"> ... </div>
统计信息
- 总下载量: 9.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-24