Bug Tracker

Opened 10 years ago

Closed 9 years ago

#6081 closed enhancement (invalid)

delay an event

Reported by: petter@… Owned by:
Priority: low Milestone: 1.5
Component: event Version:
Keywords: event delay Cc:
Blocked by: Blocking:

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 (4)

comment:1 Changed 9 years ago by snover

Milestone: 1.4.41.5

Retarget all enhancements/features to next major version.

comment:2 Changed 9 years ago by snover

Keywords: needsreview added
Priority: undecided

Bikeshed/feature creep. Moving to review.

comment:3 Changed 9 years ago by Rick Waldron

Priority: undecidedlow

comment:4 Changed 9 years ago by dmethvin

Keywords: needsreview removed
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.