jquery-tinyscrollbar icon indicating copy to clipboard operation
jquery-tinyscrollbar copied to clipboard

Fire custom events on the wrapper when scrolling

Open liferealized opened this issue 12 years ago • 1 comments

Hi,

I have a need to see events fired from tiny scrollbar when it is scrolling. It would be nice to have three custom events to subscribe to:

  • scrollStart.tiny - fired from start()
  • scroll.tiny - fired from drag() and wheel()
  • scrollEnd.tiny - fired from end()

This would give me the ability to subscribe to these events on the container for my own functionality. It would also be nice if the scroll.tiny event provided data around the new postion of .overview.

liferealized avatar Mar 29 '12 17:03 liferealized

Hey James,

Feel free to implement this and issue a pull request, and I'll be happy to include it. Otherwise I don't see myself getting to it.

Empact avatar Mar 29 '12 17:03 Empact