Skip to main content

Bug Tracker

Side navigation

#6300 closed feature (patchwelcome)

Opened March 17, 2010 01:47AM UTC

Closed November 19, 2010 10:14PM UTC

add mutation events

Reported by: nathansobo Owned by:
Priority: undecided Milestone:
Component: event Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

It would be very nice to be alerted whenever an element is appended to another element. This is different from the .live functionality, in that you could execute arbitrary code in response to an element being appended, not just attach an event handler. I need to perform dynamic resizing on elements once they are attached to the DOM, and this would make it very clean to implement.

Attachments (0)
Change History (2)

Changed November 12, 2010 02:40AM UTC by snover comment:1

milestone: 1.4.3

Resetting milestone to future.

Changed November 19, 2010 10:14PM UTC by snover comment:2

priority: → undecided
resolution: → patchwelcome
status: newclosed
summary: onAppend event handleradd mutation events

Adding mutation events are likely to significantly impact the overall speed of the library, so you are probably better off using a plugin like liveQuery if you really, really need them. If you want to submit a patch, and it doesn’t cause a serious performance hit, we will investigate it for inclusion.