Skip to main content

Bug Tracker

Side navigation

#6081 closed enhancement (invalid)

Opened February 12, 2010 07:43AM UTC

Closed November 03, 2010 01:11AM UTC

delay an event

Reported by: petter@infotjenester 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... :)

Attachments (0)
Change History (4)

Changed October 19, 2010 01:07AM UTC by snover comment:1

milestone: 1.4.41.5

Retarget all enhancements/features to next major version.

Changed October 19, 2010 05:44AM UTC by snover comment:2

keywords: event delayevent delay needsreview
priority: → undecided

Bikeshed/feature creep. Moving to review.

Changed October 22, 2010 06:04PM UTC by rwaldron comment:3

priority: undecidedlow

Changed November 03, 2010 01:11AM UTC by dmethvin comment:4

keywords: event delay needsreviewevent delay
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.