Ticket #6081 (closed enhancement: invalid)
delay an event
| Reported by: | petter@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5 |
| Component: | event | Version: | |
| Keywords: | event delay | Cc: | |
| Blocking: | Blocked by: |
Description
Extend the jQuery core to support the delay of an event in such a way it will be called only once evene if it is raised multiple times within a given timeframe..
Typicly used with 'keyup' in ajax search. Perhaps somthing like .trigger('event',delayInMs,data).
Just a suggestion... :)
Change History
comment:2 Changed 3 years ago by snover
- Keywords needsreview added
- Priority set to undecided
Bikeshed/feature creep. Moving to review.
comment:4 Changed 3 years ago by dmethvin
- Keywords needsreview removed
- Status changed from new to closed
- Resolution set to invalid
Essentially this is like a debouncing operation on a button, and sounds like a good idea for a plugin. If the plugin was widely used it might be considered for inclusion into core, but the first step is to demonstrate the need for the functionality.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Retarget all enhancements/features to next major version.