We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
发现drag的事件无法解绑。 touch.off('#target', 'drag'); touch.off('#target', 'dragend'); 无效。 有绑定了,应该这么解绑吧?
The text was updated successfully, but these errors were encountered:
我也遇到这个问题了,发现官网上有:
事件处理函数, 移除函数与绑定函数必须为同一引用。具体参数说明,同“事件代理”方法中的“callback”参数说明。
这么一段,就是说,解绑时得传入绑定是的处理回调才行
Sorry, something went wrong.
v0.2.14 2015-11-10
这个版本可以正常解绑了
No branches or pull requests
发现drag的事件无法解绑。
touch.off('#target', 'drag');
touch.off('#target', 'dragend');
无效。
有绑定了,应该这么解绑吧?
The text was updated successfully, but these errors were encountered: