Opened 11 years ago
Closed 11 years ago
#8307 closed feature (worksforme)
Can we differentiate mouse and keyboard source in the focus event?
Reported by: | sunlight07 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.20 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
At current time, the focus callback function will be called when an item is focused. This is really useful for us to bind render related event on it. However, I'd like to have different behaviour on focus by "mouseover" or focus by keyboard event.So can we add this feature to autocomplete?
Note: See
TracTickets for help on using
tickets.
Use
event.originalEvent
(you may need to walk multiple times).