ziscloud / angular-slimscroll

angular directive for jquery slimscroll
MIT License
63 stars 31 forks source link

angular-slimscroll

This is a small directive to allow the use of jquery slimScroll plugin (https://github.com/rochal/jQuery-slimScroll) in angular. Get more detailed information about slimScroll, please visit: http://rocha.la/jQuery-slimScroll

Install

This plugin can be installed via bower. If you already have the bower installed in your machine, you can install it by the following command, if you are not familiar with bower, please refer to http://bower.io/ to learn more about the bower itself.

bower install angular-slimscroll --save

Then add ui.slimscroll as a dependency for your app:

var app =  angular.module('app', ['ui.slimscroll']);

Usage

<div class="scroll-body" slimscroll="{slimscrollOption: value}">
  Scroll Content
</div>

Options

License

angular-slimscroll is released under the MIT License. Feel free to use it in personal and commercial projects.