Opened 13 years ago
Closed 12 years ago
#7139 closed enhancement (fixed)
"hover" event alias should work for .bind as well as .live
Reported by: | cowboy | Owned by: | dmethvin |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | event | Version: | 1.4.2 |
Keywords: | 1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
Is there a reason this is .live-only?
http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015
Change History (16)
comment:1 Changed 13 years ago by
Priority: | undecided → low |
---|---|
Type: | bug → enhancement |
comment:2 Changed 13 years ago by
Status: | new → open |
---|
comment:3 Changed 13 years ago by
Component: | unfiled → event |
---|---|
Milestone: | 1.4.3 → 1.5 |
comment:4 Changed 12 years ago by
Added a pull request for the following fix: http://jsfiddle.net/nMAq6/
Pull request: https://github.com/jquery/jquery/pull/303
comment:5 Changed 12 years ago by
Milestone: | → 1.7 |
---|
comment:6 Changed 12 years ago by
Milestone: | 1.7 → 1.next |
---|
Let's discuss this in the 1.7 roadmap discussion.
comment:12 Changed 12 years ago by
Description: | modified (diff) |
---|
+1, If we can't remove the mythical "hover" event we are destined to perpetuate it to live/delegate.
comment:15 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.next → 1.7 |
Owner: | set to dmethvin |
Status: | open → assigned |
comment:16 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 1.7 the code is refactored so that hover
works for all event attachment methods. For code clarity don't use it, please, since it's just an alias for "mouseover mouseout" and does not detect or deliver a "hover" event type.
Reproduced.
http://jsfiddle.net/rwaldron/HwU7s/1/