nsept/yii2-jscrollpane

A jQuery plugin which allows you to replace a browser's default scrollbars.

Maintainers

👁 nsept

Package info

github.com/nsept/yii2-jsrollpane

Type:yii2-extension

pkg:composer/nsept/yii2-jscrollpane

Statistics

Installs: 9 149

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2015-12-24 19:39 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT b78189db46c009130a9b8bb0ddafe4e3d099cdd3

  • Nsept <nsept.woop@ya.ru>

jqueryextensionwidgetyii2scrolljScrollPane

This package is not auto-updated.

Last update: 2026-06-21 04:32:15 UTC


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>