ng-fiscroll
v1.0.0
Published
A custom scrollbar written in pure AngularJS
Downloads
2
Readme
FiScroll
Thanks
Plugin was rewritten from bazinas's simple-scrollbar Example was taken from asafdav's ng-scrollbar
Use
<div class="scrollme"
ng-fiscroll
hide-scroll-on-out="true"
hide-timeout="3000"
is-bar-shown="barShown"
rebuild-on="$rebuild-scroll">
.scrollme {
max-height: 200px; // Max height of block :)
}
Functionality
{
'isBarShown': '=', // Model shows bar is shown
'hideScrollOnOut': '=', // Hide on mouse out / touchend
'hideTimeout': '=', // Hide after ms
'rebuildOn': '@', // Recalculate scroll on handling this event
}`