-
Notifications
You must be signed in to change notification settings - Fork 26
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
Improved performance, browser support, bugfixes #3
base: master
Are you sure you want to change the base?
Conversation
Changelog: * Minimized repaints by eliminating style queries on every step of the drag * Generally improved performance * Improved browser support * Standardized event names (start -> dragstart, stop -> dragend) * Lots of bugfixes (eliminated outline dragging, fixed border/margin/zindex querying)
Hey man. First of all, thanks for the contribution. Before I merge your pull request, I have a few considerations about it...
Thanks a lot! |
Hi Guilherme, I've actually fixed the script up a bit more, and turned it into a class so you can have multiple instances of draggables on the same page. I'll try to add tests along with the new changes sometime this weekend if that works. Cheers, On Jun 26, 2012, at 10:00 PM, "Guilherme J. Tramontina"[email protected] wrote:
|
We can already have multiple draggables on the same page, it is just a Thanks. On Thu, Jun 28, 2012 at 6:26 PM, eighttrackmind <
|
This is a bit more robust than previous versions, but is also a bit larger (in terms of file size). I think the tradeoff is worth it, as the new features are necessary when using the draggable in any but the simplest applications. Note that the js files should be included at the *end of the body* in order to avoid onDomReady sniffing. I've also removed the AMD integration because I'm not familiar with the syntax, could you add it back? I'm also not familiar with the unit testing framework you're using, but I have tested the script manually in all supported browsers.
Touch support
Any news here? |
Changelog:
drag
border/margin/zindex querying)