Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9035 closed feature (invalid)

Enhancement for remove and append

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: effects Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

Description

I think it would be great if I could do something like this:

$('a').remove(500);

Which would be the equivalent of

$('a').hide(500, function() { $(this).remove(); });

Also something like:

$('<a href="#">link</a>').appendTo(document.body, 500);

should do something like:

$('<a href="#">link</a>').appendTo(document.body).hide().show(500);

I'm not sure where to put this but I hope the Powers That Be can implement this, shouldn't be too hard

Change History (3)

comment:1 Changed 8 years ago by Rick Waldron

Component: unfiledeffects

I think this is a great candidate for dunk punching!

http://paulirish.com/2010/duck-punching-with-jquery/

comment:2 Changed 8 years ago by timmywil

Priority: undecidedlow
Type: enhancementfeature

Feel free to submit to the 1.7 proposal, which will be open when 1.6 is released (May 3).

comment:3 Changed 8 years ago by dmethvin

Resolution: invalid
Status: newclosed

Closing, please add to the 1.7 proposal list if you would like to have it considered. I am not a fan though.

Note: See TracTickets for help on using tickets.