Bug Tracker

Modify

Ticket #6081 (closed enhancement: invalid)

Opened 3 years ago

Last modified 3 years ago

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:1 Changed 3 years ago by snover

  • Milestone changed from 1.4.4 to 1.5

Retarget all enhancements/features to next major version.

comment:2 Changed 3 years ago by snover

  • Keywords needsreview added
  • Priority set to undecided

Bikeshed/feature creep. Moving to review.

comment:3 Changed 3 years ago by rwaldron

  • Priority changed from undecided to low

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.