1.0.0 • Published 8 years ago
ng-fiscroll v1.0.0
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
}`1.0.0
8 years ago