dhiraj / yii2-malihu-custom-scrollbar-plugin
Asset Bundle for Yii2 with yii2-malihu-custom-scrollbar-plugin
Installs: 24 656
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- bower-asset/jquery: 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable
- bower-asset/malihu-custom-scrollbar-plugin: ^3.1
- yiisoft/yii2: 2.0.*
This package is auto-updated.
Last update: 2024-11-09 02:58:46 UTC
README
This extension provides an assets bundle with jquery.mCustomScrollbar js and css for Yii framework 2.0 applications.
For license information check the LICENSE-file.
Support
Installation
The preferred way to install this extension is through composer.
Either run
composer require "dhiraj/yii2-malihu-custom-scrollbar-plugin:~1.0"
or add
"dhiraj/yii2-malihu-custom-scrollbar-plugin": "~1.0",
to the require
section of your composer.json
file.
Usage
In view
traversient\yii\customscrollbar\AssetBundle::register($this);
or as dependency in your main application asset bundle
class AppAsset extends AssetBundle { // ... public $depends = [ // ... '\traversient\yii\customscrollbar\AssetBundle' ]; }
and both the jquery.pipelining.js and css will be added to your page load.