New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resize/update events, $.on(), wrappers for any block and more #27
Conversation
Also added $.fn.tinyscrollbarUpdate() method, for window resize events. Thumb min size (very helpful for long lists). Improved selectors speed and heights calculation.
Thanks I will take a look :) |
I don't understand why you added a update method. There all ready is one. I guess that way is a little more convenient. What I dont like about its is that it exposes another method to the $.fn namespace. |
Well, that's one-line update (e.g. when resized) with setting It's useful with current project. But maybe you have better idea how it may be done nicely? |
This commit will be accepted and updated? |
@wieringen I'll update for auto-merge if you want, because since it's waiting has conflicts now. But anyway I didn't update the standalone version. Auto-wrap if needed is highly important for web apps to not duplicate markup for every control. |
Hmm, it seems like auto-wrap repeats again at every |
Fixed it. asleepwalker/tinyscrollbar@b1ad9a1. |
Fixed repeating auto-wrap on update()
Thanks! |
@wieringen wow, just realized it's still open! :) |
Also added $.fn.tinyscrollbarUpdate() method, for window resize events.
Thumb min size (very helpful for long lists). Improved selectors speed
and heights calculation.
Please check it out and if makes sense - standalone version update is required as well.