Closed
Description
I read the unbind
documentation. I use unbind
instead of off
, because I work on a legacy project.
Anyway, I see the bind
doc defines eventType
as "A string containing one or more DOM event types", while unbind
defines it as "A string containing a JavaScript event type".
So it is unclear if we can specify several event types in unbind
.
I tried the example of the page, adding mouseenter
to click
, and it worked.
So I suggest to update the doc to reflect this fact. Or to openly discourage this practice, if it is frowned upon... (but parameterless unbind
is "worse", so...)
Note: previously reported at jquery/jquery.com#146
Metadata
Metadata
Assignees
Labels
No labels