{"_attachments":{},"_id":"nx-scrollbars","_rev":"494315-61f22e1ff7bfeba19660b921","author":{"name":"Peter Andreas Moelgaard"},"description":"Wrapper of Malihu's jQuery Custom Scrollbar to Angular","dist-tags":{"latest":"0.0.11"},"license":"MIT","maintainers":[{"name":"pmoelgaard","email":"npm@petermolgaard.com"}],"name":"nx-scrollbars","readme":"# Readme\n\nThis is a set of customized scrollbars for AngularJS that allows you to apply consistent styles and behavior across\ndifferent browsers (including Firefox) that's built around\n[Malihu's jQuery Custom Scrollbar by Manos Malihutsakis](http://manos.malihu.gr/jquery-custom-content-scroller/). It\nprovides an AngularJS directive with universal configuration or individual scrollbar configuration.\n\n# Demos\n\n#### Primary Demo\n[http://iominh.github.io/ng-scrollbars/](http://iominh.github.io/ng-scrollbars/)\n\nThe demo code is available on the [gh-pages branch](https://github.com/iominh/ng-scrollbars/tree/gh-pages) if you want to check that out too.\n\n#### Basic Demo\n\n[http://iominh.github.io/ng-scrollbars/demo1.html](http://iominh.github.io/ng-scrollbars/demo1.html)\n\n#### Growing scrollbar container\n\n[http://iominh.github.io/ng-scrollbars/demo2_expanding_content.html](http://iominh.github.io/ng-scrollbars/demo2_expanding_content.html)\n\n#### Updating Scrollbar Demo\n\n[http://iominh.github.io/ng-scrollbars/18_update_scrollbars.html](http://iominh.github.io/ng-scrollbars/18_update_scrollbars.html)\n\n#### Demo with Angular Material\n\n[http://iominh.github.io/ng-scrollbars/10.html](http://iominh.github.io/ng-scrollbars/10.html)\n\n\n# Usage\n\n1. Add ng-scrollbars and its dependencies to your main file (index.html)\n\tThis can be downloaded by\n * Using bower and running `bower install ng-scrollbars`\n * Or downloading the [production version][min] or the [development version][max].\n * Or downloading the [demo zip file](https://github.com/iominh/ng-scrollbars/archive/gh-pages.zip)\n\n [min]: https://github.com/iominh/ng-scrollbars/blob/master/dist/scrollbars.min.js\n [max]: https://github.com/iominh/ng-scrollbars/blob/master/src/scrollbars.js\n\n In your web page:\n\n ```html\n \n \n \n \n \n ```\n2. Set `ngScrollbars` as a dependency in your module\n\n ```javascript\n var app = angular.module('app', ['ngScrollbars'])\n ```\n \n3. Add ng-scrollbar directive to any elements:\n\n ```html\n
A bunch of content
\nA bunch of content
\n