Opened 13 years ago
Closed 13 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 13 years ago by
Milestone: | 1.4.3 |
---|
comment:2 Changed 13 years ago by
Priority: | → undecided |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Summary: | onAppend event handler → 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.
Resetting milestone to future.