Bug Tracker

Opened 10 years ago

Closed 9 years ago

#6300 closed feature (patchwelcome)

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.

Change History (2)

comment:1 Changed 9 years ago by snover

Milestone: 1.4.3

Resetting milestone to future.

comment:2 Changed 9 years ago by snover

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.

Note: See TracTickets for help on using tickets.