Ticket #6300 (closed feature: patchwelcome)
add mutation events
| Reported by: | nathansobo | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | |
| Component: | event | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
comment:2 Changed 3 years ago by snover
- Priority set to undecided
- Status changed from new to closed
- Resolution set to patchwelcome
- Summary changed from onAppend event handler to add 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Resetting milestone to future.