#10195 closed enhancement (wontfix)
bind() doesn't support hover events
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.6.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using live() or delegate(), I can use "hover" as a shortcut for "mouseover mouseout". bind() does not yet support this.
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Resolution: | → wontfix |
Status: | new → closed |
comment:2 Changed 12 years ago by
Also, .bind("hover" ...)
does not deliver a hover
event to the handler. You either get a mouseenter
or a mousleave
event. For the sake of those that are destined to maintain the code, just say .bind("mouseenter mouseleave" ...)
and make it clear what you are doing.
Note: See
TracTickets for help on using
tickets.
"hover" is a shortcut to:
which is essentially a shortcut to:
Why would you want to add another layer to that?