joehewitt / scrollability

Imitates iOS native scrolling in JavaScript.
http://joehewitt.github.com/scrollability
Other
1.78k stars 147 forks source link

Trigger events after the behavior has been initialized #13

Closed mgcrea closed 12 years ago

mgcrea commented 13 years ago

It would be usefull to have some event triggered when scrollbar / touchTargets initialization ends, so that we could handle some loading popup for huge lists.

joehewitt commented 12 years ago

There is the "onStartScroll" delegate function for this. I'm currently removing the delegate and will dispatch these events as standard DOM events that you can handle with addEventListener.