2017 © Pedro Peláez
 

yii2-extension yii2-nicescroll

yii2-nicescroll-descriptin

image

guzuomuse/yii2-nicescroll

yii2-nicescroll-descriptin

  • Friday, July 4, 2014
  • by guzuomuse
  • Repository
  • 2 Watchers
  • 0 Stars
  • 215 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-nicescroll

yii2-nicescroll-descriptin, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist "guzuomuse/yii2-nicescroll": "dev-master"

or add, (*4)

""guzuomuse/yii2-nicescroll": "dev-master"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

\guzuomuse\nicescroll\NiceScroll::begin([
//    'id'=>'nicescroll_parent_div',
    'options'=>[       
    ],
    'pluginOptions'=>[
//        'cursorborder'=>'5px dotted #FF0000',
        'smoothscroll'=>false,
        "cursorcolor"=>"#9C9A9C",
        'cursorwidth'=>'8px',
//        'boxzoom'=>true,
//        'cursorborderradius'=>'10px',
//        'scrollspeed'=>60,
//        'background'=>'#00ff00',
////        'bouncescroll'=>true,
//        'railoffset'=> new yii\web\JsExpression('{top:0,left:0}'),
//        'railpadding'=>new \yii\web\JsExpression('{top:0,right:0,left:0,bottom:0}'),
    ],

]);

some contents your want to rendered by nicescroll......, (*7)

\guzuomuse\nicescroll\NiceScroll::end();

The Versions

04/07 2014

dev-master

9999999-dev

yii2-nicescroll-descriptin

  Sources   Download

Apache-2.0

by 孤坐暮色

extension yii2