Bug Tracker

Modify

Ticket #6006 (closed feature: duplicate)

Opened 3 years ago

Last modified 3 years ago

Add `object of event/handler pairs` as an option argument to $.fn.delegate

Reported by: deadlyicon Owned by: brandon
Priority: minor Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: Cc:
Blocking: Blocked by:

Description

Extending the API to allow the following:

$(document).delegate(selector, {event:handler});

Change History

comment:1 Changed 3 years ago by john

Shouldn't we probably add this to .live() first? It's likely that the changes to delegate would become either simpler or go away altogether.

comment:2 Changed 3 years ago by deadlyicon

agreed. I'll put together a patch for that

comment:4 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

comment:5 Changed 3 years ago by dmethvin

Duplicate of #6282.

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.