You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
Hi,
I have tried to unbind an event from a key with .off() like you told me inside your documentation: a.off('error', myErrorHandler) )
But nothing happens. I look inside your nice code and it seams, that the off method
doesn't support unbinding callbacks for only a special key? If I pass the function as first
argument a.off(myErrorHandler) it will be removed but I think for all keys.
Thanks allot
The text was updated successfully, but these errors were encountered:
Currently, it only works for all keys, as you say. I have fixed the documentation to reflect this. I will leave this issue open, however, because the ability to remove a listener only for specific key(s) is a nice feature so I'll try to implement that soon.
Hi,
I have tried to unbind an event from a key with .off() like you told me inside your documentation: a.off('error', myErrorHandler) )
But nothing happens. I look inside your nice code and it seams, that the off method
doesn't support unbinding callbacks for only a special key? If I pass the function as first
argument a.off(myErrorHandler) it will be removed but I think for all keys.
Thanks allot
The text was updated successfully, but these errors were encountered: