ng-fiscroll

1.0.0 • Public • Published

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
    }`

Package Sidebar

Install

npm i ng-fiscroll

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • fiwhy