Skip to content

dhiraj/yii2-malihu-custom-scrollbar-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii 2 jquery.mCustomScrollbar Asset Bundle

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.

About

Yii2 Asset Bundle for malihu-custom-scrollbar-plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages