diiimonn/yii2-asset-slimscroll

There is no license information available for the latest version (v1.0.0) of this package.

Use slimScroll jquery plugin in your project

v1.0.0 2015-02-10 10:38 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:23:56 UTC


README

Use slimScroll jquery plugin in your project

Installation

To install with composer:

$ php composer.phar require diiimonn/yii2-asset-slimscroll "dev-master"

or add

"diiimonn/yii2-asset-slimscroll": "dev-master"

to the require section of your composer.json file.

Usage

in your AssetBundle:

public $depends = [
    ...
    'diiimonn\assets\SlimScrollAsset',
];

in your.script.js

...
$('#your-content-id').slimScroll({/* options */});
...

Demo and more: http://rocha.la/jQuery-slimScroll